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.001036/0.001036, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.001259/0.001259, allocations: 182 kB / 17.56 MB, free: 6.203 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.348/1.348, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004638/0.0004639, allocations: 11.98 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.09878, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002801/0.1016, allocations: 2.434 MB / 330.7 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1028, allocations: 0.741 MB / 331.5 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1029, allocations: 4 kB / 331.5 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.061e-05/0.103, allocations: 47.67 kB / 331.5 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.1032, allocations: 79.38 kB / 331.6 MB, free: 440 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.1036, allocations: 99.83 kB / 331.7 MB, free: 340 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004158/0.104, allocations: 418.8 kB / 332.1 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.1043, allocations: 178 kB / 332.3 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.1045, allocations: 155.4 kB / 332.4 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.1047, allocations: 171.2 kB / 332.6 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.1048, allocations: 24 kB / 332.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.765e-05/0.1048, allocations: 27.94 kB / 332.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.1049, allocations: 67.75 kB / 332.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.1051, allocations: 204.7 kB / 332.9 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.1056, allocations: 482.3 kB / 333.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1056, allocations: 0 / 333.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1056, allocations: 0 / 333.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1056, allocations: 4 kB / 333.4 MB, free: 14.62 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.001009/0.1066, allocations: 0.6125 MB / 334 MB, free: 13.96 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1067, allocations: 12.03 kB / 334 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.637e-05/0.1068, allocations: 44.38 kB / 334.1 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1071, allocations: 280.4 kB / 334.3 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.1072, allocations: 33.38 kB / 334.4 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.1072, allocations: 36.38 kB / 334.4 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.108, allocations: 455.6 kB / 334.9 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.108, allocations: 7.984 kB / 334.9 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.108, allocations: 16 kB / 334.9 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.1081, allocations: 8 kB / 334.9 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005292/0.1086, allocations: 291.8 kB / 335.2 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.1105, allocations: 1.306 MB / 336.5 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.111, allocations: 246.6 kB / 336.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.1114, allocations: 188.8 kB / 336.9 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1114, allocations: 7.984 kB / 336.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1115, allocations: 42.56 kB / 337 MB, free: 10.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.595e-06/0.1115, allocations: 0 / 337 MB, free: 10.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001462/0.113, allocations: 0.5509 MB / 337.5 MB, free: 10.26 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.1131, allocations: 243.3 kB / 337.7 MB, free: 9.969 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.1134, allocations: 210.8 kB / 338 MB, free: 9.754 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.1134, allocations: 29.7 kB / 338 MB, free: 9.719 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.1135, allocations: 199.9 kB / 338.2 MB, free: 9.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.1136, allocations: 102.5 kB / 338.3 MB, free: 9.418 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.1137, allocations: 33.7 kB / 338.3 MB, free: 9.379 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1139, allocations: 334.8 kB / 338.6 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.114, allocations: 71.97 kB / 338.7 MB, free: 8.973 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.1142, allocations: 168.4 kB / 338.9 MB, free: 8.777 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008601/0.1151, allocations: 369.2 kB / 339.2 MB, free: 8.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1151, allocations: 3.938 kB / 339.2 MB, free: 8.406 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004463/0.1156, allocations: 285.2 kB / 339.5 MB, free: 8.121 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1156, allocations: 4 kB / 339.5 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1156, allocations: 0 / 339.5 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1156, allocations: 7.938 kB / 339.5 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.116, allocations: 83.95 kB / 339.6 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.116, allocations: 4 kB / 339.6 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.1162, allocations: 39.67 kB / 339.7 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.1162, allocations: 8 kB / 339.7 MB, free: 7.977 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.0002633/0.1165, allocations: 157.8 kB / 339.8 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.1165, allocations: 27.66 kB / 339.8 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.429e-05/0.1166, allocations: 42.64 kB / 339.9 MB, free: 7.742 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1166, allocations: 0 / 339.9 MB, free: 7.742 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.1166, allocations: 4 kB / 339.9 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1166, allocations: 0 / 339.9 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.1177, allocations: 0.7711 MB / 340.7 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1177, allocations: 0 / 340.7 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.118, allocations: 56 kB / 340.7 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002844/0.1183, allocations: 92.73 kB / 340.8 MB, free: 6.758 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1183, allocations: 4 kB / 340.8 MB, free: 6.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.1202, allocations: 1.835 MB / 342.6 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1202, allocations: 0 / 342.6 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.1209, allocations: 0.517 MB / 343.2 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.121, allocations: 96.92 kB / 343.3 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.121, allocations: 8 kB / 343.3 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.1212, allocations: 15.98 kB / 343.3 MB, free: 4.105 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.1213, allocations: 27.97 kB / 343.3 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1213, allocations: 4 kB / 343.3 MB, free: 4.074 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.1214, allocations: 152.6 kB / 343.5 MB, free: 3.926 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1215, allocations: 0 / 343.5 MB, free: 3.926 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.1219, allocations: 103.6 kB / 343.6 MB, free: 3.824 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.0001185/0.122, allocations: 107.2 kB / 343.7 MB, free: 3.711 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003959/0.1224, allocations: 215.8 kB / 343.9 MB, free: 3.5 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1224, allocations: 0 / 343.9 MB, free: 3.5 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004174/0.1228, allocations: 274.4 kB / 344.1 MB, free: 3.219 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1232, allocations: 28.27 kB / 344.2 MB, free: 3.191 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.1246, allocations: 1.101 MB / 345.3 MB, free: 2.066 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1249, allocations: 0.7869 MB / 346.1 MB, free: 1.25 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.377e-05/0.125, allocations: 29.86 kB / 346.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.125, allocations: 19.44 kB / 346.1 MB, free: 1.199 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1251, allocations: 8 kB / 346.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of Templates: time 0.006361/0.1314, allocations: 2.695 MB / 348.8 MB, free: 14.5 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)