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.005677/0.005677, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001181/0.001181, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.317/1.317, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001281/0.001281, allocations: 55.91 kB / 326.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07834/0.07963, allocations: 46.61 MB / 373.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003535/0.0832, allocations: 2.781 MB / 375.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.08453, allocations: 0.7485 MB / 376.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.08473, allocations: 4 kB / 376.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.08491, allocations: 67.36 kB / 376.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.08517, allocations: 95.12 kB / 376.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.08557, allocations: 123.8 kB / 377 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000504/0.08608, allocations: 434.8 kB / 377.4 MB, free: 308 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.08642, allocations: 228.8 kB / 377.6 MB, free: 72 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.166/0.2525, allocations: 174 kB / 377.8 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.2528, allocations: 203.3 kB / 378 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/0.2528, allocations: 45 kB / 378 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.768e-05/0.2529, allocations: 45.09 kB / 378.1 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/0.253, allocations: 96.69 kB / 378.2 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.2532, allocations: 212 kB / 378.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005098/0.2537, allocations: 0.4944 MB / 378.9 MB, free: 9.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2537, allocations: 3.781 kB / 378.9 MB, free: 9.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2537, allocations: 0 / 378.9 MB, free: 9.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.2538, allocations: 0 / 378.9 MB, free: 9.812 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.0009566/0.2547, allocations: 0.6826 MB / 379.5 MB, free: 9.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2548, allocations: 10.28 kB / 379.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.2548, allocations: 42.47 kB / 379.6 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.2551, allocations: 290.9 kB / 379.9 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2551, allocations: 29.41 kB / 379.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.2552, allocations: 42.12 kB / 380 MB, free: 9.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008289/0.256, allocations: 449.6 kB / 380.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.2561, allocations: 9.359 kB / 380.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/0.2561, allocations: 14.12 kB / 380.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.2562, allocations: 16.53 kB / 380.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006577/0.2568, allocations: 284.2 kB / 380.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.2585, allocations: 1.287 MB / 382 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.2589, allocations: 237.4 kB / 382.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.2593, allocations: 196.9 kB / 382.4 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.2593, allocations: 6.516 kB / 382.4 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.2593, allocations: 39.59 kB / 382.5 MB, free: 8.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.2593, allocations: 0 / 382.5 MB, free: 8.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001286/0.2606, allocations: 0.5441 MB / 383 MB, free: 8.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.2607, allocations: 239.6 kB / 383.2 MB, free: 7.766 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.2609, allocations: 208.8 kB / 383.4 MB, free: 7.629 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.2609, allocations: 32.52 kB / 383.5 MB, free: 7.594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.261, allocations: 199.1 kB / 383.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.261, allocations: 107.5 kB / 383.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.2611, allocations: 58.84 kB / 383.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.2612, allocations: 339.8 kB / 384.2 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.2613, allocations: 77.25 kB / 384.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.2615, allocations: 158.7 kB / 384.4 MB, free: 6.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008004/0.2623, allocations: 357.5 kB / 384.7 MB, free: 6.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2623, allocations: 0 / 384.7 MB, free: 6.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004129/0.2627, allocations: 283.7 kB / 385 MB, free: 6.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2628, allocations: 5.656 kB / 385 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2628, allocations: 1.719 kB / 385 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2628, allocations: 2.406 kB / 385 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.2631, allocations: 81.64 kB / 385.1 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2631, allocations: 5.578 kB / 385.1 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.2633, allocations: 35.59 kB / 385.2 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.2633, allocations: 12.81 kB / 385.2 MB, free: 6.543 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.0002428/0.2636, allocations: 163.3 kB / 385.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.2637, allocations: 23.78 kB / 385.3 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.2637, allocations: 29.38 kB / 385.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2637, allocations: 2.75 kB / 385.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.2637, allocations: 2.562 kB / 385.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2638, allocations: 3.234 kB / 385.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009987/0.2648, allocations: 0.7737 MB / 386.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2648, allocations: 0 / 386.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.265, allocations: 51.56 kB / 386.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003144/0.2654, allocations: 91.28 kB / 386.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.2654, allocations: 6.047 kB / 386.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.2673, allocations: 1.977 MB / 388.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2674, allocations: 1.031 kB / 388.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.2682, allocations: 0.5092 MB / 388.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.2683, allocations: 106.7 kB / 388.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.2683, allocations: 12.14 kB / 388.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.2685, allocations: 11.36 kB / 388.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.2686, allocations: 19.44 kB / 388.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2686, allocations: 11.16 kB / 388.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.2687, allocations: 150 kB / 389.1 MB, free: 3.621 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2687, allocations: 0 / 389.1 MB, free: 3.621 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000431/0.2692, allocations: 117.7 kB / 389.2 MB, free: 3.582 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.0001305/0.2693, allocations: 107.4 kB / 389.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004424/0.2698, allocations: 208.4 kB / 389.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2698, allocations: 0 / 389.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.2702, allocations: 275.3 kB / 389.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.2705, allocations: 23.38 kB / 389.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2717, allocations: 0.8422 MB / 390.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.272, allocations: 0.7843 MB / 391.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.2721, allocations: 26.25 kB / 391.5 MB, free: 1.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.2722, allocations: 21.34 kB / 391.5 MB, free: 1.977 MB / 318.1 MB Notification: Performance of SimCode: time 2.735e-06/0.2722, allocations: 0 / 391.5 MB, free: 1.977 MB / 318.1 MB Notification: Performance of Templates: time 0.006922/0.2791, allocations: 2.952 MB / 394.4 MB, free: 1.758 MB / 318.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)