Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001063/0.001063, allocations: 114.1 kB / 16.63 MB, free: 6.812 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.001074/0.001074, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.297/1.297, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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.001615/0.001615, allocations: 55.91 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.1001, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003675/0.1038, allocations: 2.811 MB / 328.9 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1052, allocations: 0.7488 MB / 329.7 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.1054, allocations: 8 kB / 329.7 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.1056, allocations: 51.59 kB / 329.8 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.1058, allocations: 71.38 kB / 329.8 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.1062, allocations: 103.8 kB / 329.9 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004784/0.1067, allocations: 430.9 kB / 330.3 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.107, allocations: 220.9 kB / 330.6 MB, free: 328 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.1073, allocations: 175.4 kB / 330.7 MB, free: 152 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.1076, allocations: 207.1 kB / 330.9 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.901e-05/0.1076, allocations: 48 kB / 331 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.811e-05/0.1077, allocations: 44 kB / 331 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.808e-05/0.1078, allocations: 99.72 kB / 331.1 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.108, allocations: 211 kB / 331.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.1084, allocations: 0.4907 MB / 331.8 MB, free: 15.06 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1084, allocations: 0 / 331.8 MB, free: 15.06 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1084, allocations: 0 / 331.8 MB, free: 15.06 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.1084, allocations: 0 / 331.8 MB, free: 15.06 MB / 286.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.001023/0.1095, allocations: 0.6864 MB / 332.5 MB, free: 14.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1095, allocations: 8.031 kB / 332.5 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/0.1096, allocations: 44.47 kB / 332.6 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1099, allocations: 276.4 kB / 332.8 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1099, allocations: 33.38 kB / 332.9 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.11, allocations: 44.38 kB / 332.9 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/0.1107, allocations: 455.5 kB / 333.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.1107, allocations: 0 / 333.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.1108, allocations: 20 kB / 333.4 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1108, allocations: 12 kB / 333.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.1113, allocations: 287.9 kB / 333.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.1131, allocations: 1.31 MB / 335 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.1135, allocations: 242.6 kB / 335.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.1139, allocations: 192.8 kB / 335.4 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1139, allocations: 4 kB / 335.4 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1139, allocations: 34.56 kB / 335.4 MB, free: 11.21 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.342e-06/0.1139, allocations: 0 / 335.4 MB, free: 11.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001357/0.1153, allocations: 0.543 MB / 336 MB, free: 10.64 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.1154, allocations: 239.3 kB / 336.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1156, allocations: 210.8 kB / 336.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1156, allocations: 29.7 kB / 336.4 MB, free: 10.11 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1158, allocations: 207.9 kB / 336.6 MB, free: 9.898 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/0.1158, allocations: 102.5 kB / 336.7 MB, free: 9.797 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.1159, allocations: 57.7 kB / 336.8 MB, free: 9.734 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.116, allocations: 334.8 kB / 337.1 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1162, allocations: 75.95 kB / 337.2 MB, free: 9.324 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.1164, allocations: 160.4 kB / 337.4 MB, free: 9.137 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008172/0.1172, allocations: 365.4 kB / 337.7 MB, free: 8.773 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1172, allocations: 4 kB / 337.7 MB, free: 8.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004271/0.1177, allocations: 277 kB / 338 MB, free: 8.492 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1177, allocations: 8 kB / 338 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1177, allocations: 0 / 338 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1177, allocations: 4 kB / 338 MB, free: 8.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.1181, allocations: 75.89 kB / 338.1 MB, free: 8.406 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1181, allocations: 4 kB / 338.1 MB, free: 8.402 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.1183, allocations: 35.73 kB / 338.1 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.1183, allocations: 12 kB / 338.1 MB, free: 8.355 MB / 286.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.0002645/0.1186, allocations: 157.8 kB / 338.3 MB, free: 8.191 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.1186, allocations: 27.66 kB / 338.3 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-05/0.1187, allocations: 30.64 kB / 338.3 MB, free: 8.133 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1187, allocations: 4 kB / 338.3 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1187, allocations: 7.875 kB / 338.4 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1187, allocations: 7.984 kB / 338.4 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009767/0.1197, allocations: 0.7672 MB / 339.1 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1197, allocations: 0 / 339.1 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.12, allocations: 43.97 kB / 339.2 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/0.1202, allocations: 92.8 kB / 339.3 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1203, allocations: 12.03 kB / 339.3 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.1221, allocations: 1.981 MB / 341.3 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1221, allocations: 3.938 kB / 341.3 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.1228, allocations: 0.5093 MB / 341.8 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.1229, allocations: 100.8 kB / 341.9 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.123, allocations: 8.125 kB / 341.9 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1231, allocations: 19.98 kB / 341.9 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.1232, allocations: 23.91 kB / 341.9 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.1232, allocations: 8 kB / 341.9 MB, free: 4.305 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1233, allocations: 152.5 kB / 342.1 MB, free: 4.156 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1234, allocations: 7.938 kB / 342.1 MB, free: 4.148 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003767/0.1237, allocations: 103.7 kB / 342.2 MB, free: 4.047 MB / 286.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.000121/0.1239, allocations: 99.25 kB / 342.3 MB, free: 3.938 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004166/0.1243, allocations: 223.6 kB / 342.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1243, allocations: 0 / 342.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.1247, allocations: 274.7 kB / 342.8 MB, free: 3.438 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.125, allocations: 24 kB / 342.8 MB, free: 3.414 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.1263, allocations: 0.9947 MB / 343.8 MB, free: 2.391 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1266, allocations: 0.787 MB / 344.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.357e-05/0.1267, allocations: 25.94 kB / 344.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.1268, allocations: 23.42 kB / 344.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1268, allocations: 0 / 344.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of Templates: time 0.005951/0.1328, allocations: 2.875 MB / 347.5 MB, free: 14.65 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1)