Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009519/0.009519, allocations: 99.34 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00192/0.001921, allocations: 195 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 53.64 kB / 326.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09531, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00358/0.09893, allocations: 2.782 MB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1002, allocations: 0.7484 MB / 376.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1004, allocations: 8 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1005, allocations: 63.42 kB / 376.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.1008, allocations: 91.06 kB / 376.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.1012, allocations: 127.8 kB / 377 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000465/0.1017, allocations: 438.8 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.102, allocations: 236.7 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.1023, allocations: 163.5 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.1025, allocations: 203.1 kB / 378 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.1026, allocations: 48 kB / 378 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.927e-05/0.1027, allocations: 44 kB / 378.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1028, allocations: 99.67 kB / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.103, allocations: 215 kB / 378.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.1035, allocations: 0.4941 MB / 378.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1035, allocations: 3.938 kB / 378.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1035, allocations: 0 / 378.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.1035, allocations: 0 / 378.9 MB, free: 11.57 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001083/0.1046, allocations: 0.6977 MB / 379.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1047, allocations: 8.031 kB / 379.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.63e-05/0.1047, allocations: 48.66 kB / 379.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.105, allocations: 284.5 kB / 379.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.1051, allocations: 29.38 kB / 379.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.1051, allocations: 44.38 kB / 380 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/0.1058, allocations: 455.6 kB / 380.4 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1058, allocations: 0 / 380.4 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.1058, allocations: 20 kB / 380.5 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.1059, allocations: 8 kB / 380.5 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.1063, allocations: 287.8 kB / 380.7 MB, free: 9.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.1082, allocations: 1.287 MB / 382 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.1087, allocations: 234.7 kB / 382.3 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.1091, allocations: 200.7 kB / 382.5 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1091, allocations: 4 kB / 382.5 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1091, allocations: 38.56 kB / 382.5 MB, free: 7.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.1091, allocations: 0 / 382.5 MB, free: 7.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001348/0.1105, allocations: 0.5502 MB / 383.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.1106, allocations: 239.3 kB / 383.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1108, allocations: 207 kB / 383.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.1109, allocations: 37.7 kB / 383.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.111, allocations: 200.3 kB / 383.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/0.1111, allocations: 111.1 kB / 383.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.241e-05/0.1112, allocations: 53.7 kB / 383.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1113, allocations: 334.8 kB / 384.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1114, allocations: 79.83 kB / 384.3 MB, free: 5.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.1116, allocations: 156.6 kB / 384.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000853/0.1125, allocations: 370.2 kB / 384.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1125, allocations: 0 / 384.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004411/0.113, allocations: 277 kB / 385.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.113, allocations: 7.938 kB / 385.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.113, allocations: 0 / 385.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.113, allocations: 4 kB / 385.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.1134, allocations: 87.95 kB / 385.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1134, allocations: 0 / 385.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.1136, allocations: 35.77 kB / 385.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.1136, allocations: 11.94 kB / 385.2 MB, free: 4.848 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real C1.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002391/0.1138, allocations: 157.8 kB / 385.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.1139, allocations: 27.8 kB / 385.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.591e-05/0.114, allocations: 38.62 kB / 385.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.114, allocations: 4 kB / 385.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.114, allocations: 8 kB / 385.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.114, allocations: 0 / 385.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.115, allocations: 0.7672 MB / 386.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.115, allocations: 0 / 386.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.1153, allocations: 47.97 kB / 386.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002833/0.1156, allocations: 100.7 kB / 386.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.1156, allocations: 4 kB / 386.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.1176, allocations: 1.981 MB / 388.3 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1177, allocations: 4.031 kB / 388.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007508/0.1184, allocations: 0.5023 MB / 388.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.1185, allocations: 104.9 kB / 389 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.1185, allocations: 12.06 kB / 389 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.1187, allocations: 8 kB / 389 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.1188, allocations: 23.95 kB / 389 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1188, allocations: 8 kB / 389 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1189, allocations: 160.3 kB / 389.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1189, allocations: 0 / 389.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003782/0.1193, allocations: 107.7 kB / 389.3 MB, free: 0.543 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.1195, allocations: 103.2 kB / 389.4 MB, free: 444 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004198/0.1199, allocations: 207.8 kB / 389.6 MB, free: 236 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1199, allocations: 128 / 389.6 MB, free: 236 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.1203, allocations: 283 kB / 389.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.1207, allocations: 24 kB / 389.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1219, allocations: 0.8453 MB / 390.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.1223, allocations: 0.787 MB / 391.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.406e-05/0.1224, allocations: 29.88 kB / 391.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.1224, allocations: 19.44 kB / 391.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1225, allocations: 0 / 391.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of Templates: time 0.006437/0.1289, allocations: 2.945 MB / 394.5 MB, free: 11.22 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1)