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.001047/0.001047, allocations: 108.1 kB / 16.51 MB, free: 6.707 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.001084/0.001084, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.347/1.347, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001202/0.001202, allocations: 55.92 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09461/0.09582, allocations: 46.62 MB / 325.9 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003684/0.09956, allocations: 2.811 MB / 328.8 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1008, allocations: 0.7604 MB / 329.5 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1009, allocations: 8 kB / 329.5 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.1011, allocations: 43.67 kB / 329.6 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.1013, allocations: 79.38 kB / 329.6 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.1016, allocations: 99.84 kB / 329.7 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.102, allocations: 410.9 kB / 330.1 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.1023, allocations: 194 kB / 330.3 MB, free: 488 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.1024, allocations: 163.5 kB / 330.5 MB, free: 324 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.1027, allocations: 195.1 kB / 330.7 MB, free: 128 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.155e-05/0.1027, allocations: 36 kB / 330.7 MB, free: 92 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.842e-05/0.1028, allocations: 32 kB / 330.8 MB, free: 60 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.898e-05/0.1029, allocations: 87.69 kB / 330.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.103, allocations: 203 kB / 331 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.1035, allocations: 486.5 kB / 331.5 MB, free: 15.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1035, allocations: 4 kB / 331.5 MB, free: 15.29 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1035, allocations: 0 / 331.5 MB, free: 15.29 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1035, allocations: 0 / 331.5 MB, free: 15.29 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.001086/0.1046, allocations: 0.6826 MB / 332.2 MB, free: 14.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1046, allocations: 12.02 kB / 332.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.1047, allocations: 44.47 kB / 332.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.105, allocations: 276.4 kB / 332.5 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.105, allocations: 41.34 kB / 332.6 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.471e-05/0.1051, allocations: 40.38 kB / 332.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.1057, allocations: 451.6 kB / 333 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1058, allocations: 4 kB / 333 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.1058, allocations: 16 kB / 333.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1058, allocations: 8 kB / 333.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004857/0.1063, allocations: 287.9 kB / 333.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.108, allocations: 1.318 MB / 334.7 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.1085, allocations: 238.7 kB / 334.9 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.1088, allocations: 192.8 kB / 335.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.1089, allocations: 4 kB / 335.1 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1089, allocations: 34.56 kB / 335.1 MB, free: 11.45 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.362e-06/0.1089, allocations: 4 kB / 335.1 MB, free: 11.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001427/0.1103, allocations: 0.5469 MB / 335.7 MB, free: 10.87 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.1105, allocations: 239.3 kB / 335.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.1108, allocations: 210.8 kB / 336.1 MB, free: 10.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.1108, allocations: 29.7 kB / 336.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.111, allocations: 199.9 kB / 336.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.1111, allocations: 102.5 kB / 336.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.1112, allocations: 61.69 kB / 336.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1114, allocations: 338.8 kB / 336.8 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.1117, allocations: 71.97 kB / 336.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.112, allocations: 160.4 kB / 337.1 MB, free: 9.367 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.1133, allocations: 361.2 kB / 337.4 MB, free: 9.008 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1134, allocations: 0 / 337.4 MB, free: 9.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007321/0.1141, allocations: 285.2 kB / 337.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1141, allocations: 4 kB / 337.7 MB, free: 8.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.1142, allocations: 4.062 kB / 337.7 MB, free: 8.715 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.1142, allocations: 4 kB / 337.7 MB, free: 8.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.1147, allocations: 79.83 kB / 337.8 MB, free: 8.633 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.1147, allocations: 7.938 kB / 337.8 MB, free: 8.625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.115, allocations: 27.69 kB / 337.8 MB, free: 8.598 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.1151, allocations: 12 kB / 337.8 MB, free: 8.586 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.0004256/0.1155, allocations: 161.8 kB / 338 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.671e-05/0.1156, allocations: 27.66 kB / 338 MB, free: 8.391 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.54e-05/0.1157, allocations: 26.66 kB / 338 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.1157, allocations: 7.984 kB / 338 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/0.1158, allocations: 0 / 338 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1158, allocations: 0 / 338 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.1174, allocations: 0.7634 MB / 338.8 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1174, allocations: 3.984 kB / 338.8 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.1178, allocations: 56 kB / 338.9 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/0.1183, allocations: 92.8 kB / 339 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.1183, allocations: 11.98 kB / 339 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002658/0.121, allocations: 1.851 MB / 340.8 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.121, allocations: 0 / 340.8 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.1221, allocations: 0.5015 MB / 341.3 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/0.1222, allocations: 100.8 kB / 341.4 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.1223, allocations: 12 kB / 341.4 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.1226, allocations: 12.11 kB / 341.4 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/0.1227, allocations: 27.89 kB / 341.5 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.1227, allocations: 12 kB / 341.5 MB, free: 4.676 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1229, allocations: 148.6 kB / 341.6 MB, free: 4.531 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1229, allocations: 0 / 341.6 MB, free: 4.531 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006178/0.1235, allocations: 107.7 kB / 341.7 MB, free: 4.426 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.0001525/0.1237, allocations: 99.25 kB / 341.8 MB, free: 4.32 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.1243, allocations: 211.6 kB / 342 MB, free: 4.113 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1243, allocations: 128 / 342 MB, free: 4.113 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006087/0.1249, allocations: 282.5 kB / 342.3 MB, free: 3.824 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.1254, allocations: 23.94 kB / 342.3 MB, free: 3.801 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.1275, allocations: 0.9951 MB / 343.3 MB, free: 2.777 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.128, allocations: 0.7831 MB / 344.1 MB, free: 1.965 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.1281, allocations: 29.92 kB / 344.1 MB, free: 1.934 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/0.1282, allocations: 23.44 kB / 344.2 MB, free: 1.914 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1283, allocations: 3.938 kB / 344.2 MB, free: 1.91 MB / 286.1 MB Notification: Performance of Templates: time 0.008956/0.1372, allocations: 2.746 MB / 346.9 MB, free: 15.16 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)