Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.005227/0.005227, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001164/0.001164, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.362/1.362, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.001262/0.001262, allocations: 49.72 kB / 326.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/0.08982, allocations: 46.63 MB / 373.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004123/0.09399, allocations: 2.774 MB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.09544, allocations: 0.7524 MB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.09572, allocations: 8 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.09592, allocations: 59.36 kB / 376.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.09621, allocations: 103 kB / 376.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.09672, allocations: 119.8 kB / 377 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006349/0.09736, allocations: 442.8 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004104/0.09778, allocations: 228.7 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.09808, allocations: 171.5 kB / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.09838, allocations: 207.1 kB / 378 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.681e-05/0.09846, allocations: 44 kB / 378 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-05/0.09855, allocations: 44 kB / 378.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.09863, allocations: 99.69 kB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.09884, allocations: 215 kB / 378.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.09933, allocations: 0.4902 MB / 378.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.09935, allocations: 7.938 kB / 378.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.09936, allocations: 4 kB / 378.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.161e-05/0.09938, 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.001247/0.1006, allocations: 0.6899 MB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.1007, allocations: 12.03 kB / 379.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.878e-05/0.1008, allocations: 48.64 kB / 379.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.1011, allocations: 276.4 kB / 379.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.1012, allocations: 33.38 kB / 379.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.46e-05/0.1013, allocations: 44.36 kB / 380 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007912/0.1021, allocations: 455.6 kB / 380.4 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1021, allocations: 0 / 380.4 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.1022, allocations: 16 kB / 380.4 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1022, allocations: 16 kB / 380.5 MB, free: 9.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.1027, allocations: 279.9 kB / 380.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.1045, allocations: 1.299 MB / 382 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.105, allocations: 238.7 kB / 382.3 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.1053, allocations: 192.7 kB / 382.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.1054, allocations: 8 kB / 382.5 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.1054, allocations: 34.56 kB / 382.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.853e-06/0.1054, allocations: 0 / 382.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001394/0.1068, allocations: 0.5502 MB / 383.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.107, allocations: 243.3 kB / 383.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.1072, allocations: 211 kB / 383.5 MB, free: 6.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.1072, allocations: 29.7 kB / 383.5 MB, free: 6.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.1074, allocations: 204.3 kB / 383.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.222e-05/0.1075, allocations: 107.1 kB / 383.8 MB, free: 6.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.1076, allocations: 61.69 kB / 383.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1078, allocations: 330.8 kB / 384.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.108, allocations: 79.81 kB / 384.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.1082, allocations: 160.6 kB / 384.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/0.1091, allocations: 358.2 kB / 384.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1092, allocations: 0 / 384.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004999/0.1097, allocations: 285 kB / 385.1 MB, free: 5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.1097, allocations: 9.094 kB / 385.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.1097, allocations: 3.984 kB / 385.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.1097, allocations: 4 kB / 385.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.1101, allocations: 71.91 kB / 385.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.1101, allocations: 11.92 kB / 385.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.1103, allocations: 31.78 kB / 385.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.1103, allocations: 11.94 kB / 385.2 MB, free: 4.859 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.000369/0.1107, allocations: 165.8 kB / 385.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.1108, allocations: 27.8 kB / 385.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.746e-05/0.1109, allocations: 26.66 kB / 385.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1109, allocations: 4 kB / 385.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.1109, allocations: 0 / 385.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1109, allocations: 3.984 kB / 385.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.112, allocations: 0.7673 MB / 386.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1121, allocations: 4 kB / 386.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.1123, allocations: 43.97 kB / 386.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003102/0.1126, allocations: 96.73 kB / 386.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.1127, allocations: 8 kB / 386.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.1145, allocations: 1.985 MB / 388.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1145, allocations: 0 / 388.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007942/0.1153, allocations: 0.5061 MB / 388.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/0.1154, allocations: 101 kB / 388.9 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.1155, allocations: 12.06 kB / 389 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.1156, allocations: 15.98 kB / 389 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.1157, allocations: 19.97 kB / 389 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1157, allocations: 8 kB / 389 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1159, allocations: 156.3 kB / 389.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1159, allocations: 0 / 389.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004189/0.1163, allocations: 107.7 kB / 389.3 MB, free: 0.5625 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.0001537/0.1165, allocations: 111.2 kB / 389.4 MB, free: 456 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004602/0.1169, allocations: 211.8 kB / 389.6 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.117, allocations: 0 / 389.6 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004519/0.1174, allocations: 274.6 kB / 389.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.1177, allocations: 20 kB / 389.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1189, allocations: 0.8454 MB / 390.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1193, allocations: 0.7831 MB / 391.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.925e-05/0.1194, allocations: 33.86 kB / 391.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.1194, allocations: 23.44 kB / 391.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1194, allocations: 3.938 kB / 391.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Templates: time 0.006379/0.1258, allocations: 2.945 MB / 394.5 MB, free: 11.24 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1)