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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001513/0.001514, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.439/1.439, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001637/0.001637, allocations: 111 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.64e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09492/0.09496, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3078/0.4028, allocations: 71.96 MB / 414.5 MB, free: 23.83 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.403, allocations: 70.53 kB / 414.6 MB, free: 23.79 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01296/0.416, allocations: 5.374 MB / 420 MB, free: 19.38 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4161, allocations: 0 / 420 MB, free: 19.38 MB / 315.1 MB Notification: Performance of Transformations before backend: time 2.197e-05/0.4161, allocations: 19.28 kB / 420 MB, free: 19.36 MB / 315.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.0009088/0.417, allocations: 0.5819 MB / 420.6 MB, free: 18.76 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/0.4171, allocations: 12.03 kB / 420.6 MB, free: 18.75 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.4173, allocations: 47.52 kB / 420.6 MB, free: 18.7 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.4176, allocations: 275.2 kB / 420.9 MB, free: 18.42 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.4176, allocations: 12 kB / 420.9 MB, free: 18.41 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.4177, allocations: 35.69 kB / 421 MB, free: 18.38 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004533/0.4182, allocations: 235 kB / 421.2 MB, free: 18.23 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.4187, allocations: 375.6 kB / 421.5 MB, free: 17.93 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.4187, allocations: 0 / 421.5 MB, free: 17.93 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.4187, allocations: 3.984 kB / 421.6 MB, free: 17.92 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.4188, allocations: 11.95 kB / 421.6 MB, free: 17.91 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.4203, allocations: 1.235 MB / 422.8 MB, free: 16.84 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.4207, allocations: 216.1 kB / 423 MB, free: 16.7 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.421, allocations: 181.7 kB / 423.2 MB, free: 16.57 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.421, allocations: 7.938 kB / 423.2 MB, free: 16.56 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.421, allocations: 35.75 kB / 423.2 MB, free: 16.52 MB / 315.1 MB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.421, allocations: 0 / 423.2 MB, free: 16.52 MB / 315.1 MB Notification: Performance of matching and sorting (n=29): time 0.0005144/0.4216, allocations: 266.3 kB / 423.5 MB, free: 16.32 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.4216, allocations: 239.3 kB / 423.7 MB, free: 16.03 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.4217, allocations: 155.4 kB / 423.9 MB, free: 15.89 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.4218, allocations: 25.7 kB / 423.9 MB, free: 15.86 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.4218, allocations: 205.6 kB / 424.1 MB, free: 15.68 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.4219, allocations: 96.91 kB / 424.2 MB, free: 15.59 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/0.4219, allocations: 3.938 kB / 424.2 MB, free: 15.59 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.422, allocations: 332.6 kB / 424.5 MB, free: 15.26 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.366e-05/0.4221, allocations: 60.62 kB / 424.6 MB, free: 15.23 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.4222, allocations: 143.6 kB / 424.7 MB, free: 15.09 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.4223, allocations: 75.84 kB / 424.8 MB, free: 15.04 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4223, allocations: 7.938 kB / 424.8 MB, free: 15.04 MB / 315.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002955/0.4227, allocations: 232.5 kB / 425 MB, free: 14.85 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4227, allocations: 4.938 kB / 425 MB, free: 14.85 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4227, allocations: 0 / 425 MB, free: 14.85 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4227, allocations: 4 kB / 425 MB, free: 14.84 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.423, allocations: 83.52 kB / 425.1 MB, free: 14.77 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.4231, allocations: 1.406 kB / 425.1 MB, free: 14.77 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.4232, allocations: 27.7 kB / 425.1 MB, free: 14.74 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.4233, allocations: 12.06 kB / 425.2 MB, free: 14.73 MB / 315.1 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.406e-05/0.4233, allocations: 117.1 kB / 425.3 MB, free: 14.61 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.4234, allocations: 27.67 kB / 425.3 MB, free: 14.58 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.473e-05/0.4235, allocations: 27.53 kB / 425.3 MB, free: 14.57 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4235, allocations: 4.656 kB / 425.3 MB, free: 14.57 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4235, allocations: 3.984 kB / 425.3 MB, free: 14.56 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.4235, allocations: 0 / 425.3 MB, free: 14.56 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007455/0.4242, allocations: 0.6947 MB / 426 MB, free: 13.96 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4243, allocations: 0 / 426 MB, free: 13.96 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.4245, allocations: 47.97 kB / 426.1 MB, free: 13.91 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002724/0.4248, allocations: 82.44 kB / 426.2 MB, free: 13.85 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.4248, allocations: 1.031 kB / 426.2 MB, free: 13.85 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.4261, allocations: 1.752 MB / 427.9 MB, free: 12.24 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4262, allocations: 64 / 427.9 MB, free: 12.24 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.4267, allocations: 485.5 kB / 428.4 MB, free: 11.83 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.4267, allocations: 96.86 kB / 428.5 MB, free: 11.72 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.4268, allocations: 0 / 428.5 MB, free: 11.72 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.4269, allocations: 11.98 kB / 428.5 MB, free: 11.71 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.427, allocations: 22.72 kB / 428.5 MB, free: 11.69 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.427, allocations: 14.83 kB / 428.5 MB, free: 11.68 MB / 315.1 MB Notification: Performance of sorting global known variables: time 6.106e-05/0.4271, allocations: 120.4 kB / 428.6 MB, free: 11.57 MB / 315.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4271, allocations: 0 / 428.6 MB, free: 11.57 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0003644/0.4275, allocations: 97.47 kB / 428.7 MB, free: 11.48 MB / 315.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001325/0.4276, allocations: 107.1 kB / 428.8 MB, free: 11.37 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.4279, allocations: 180.9 kB / 429 MB, free: 11.24 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4279, allocations: 4 kB / 429 MB, free: 11.24 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.4282, allocations: 250.5 kB / 429.3 MB, free: 11.03 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.4284, allocations: 8.531 kB / 429.3 MB, free: 11.03 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.4294, allocations: 0.6668 MB / 429.9 MB, free: 10.39 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.4296, allocations: 0.7912 MB / 430.7 MB, free: 9.574 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 9.614e-05/0.4297, allocations: 22.06 kB / 430.8 MB, free: 9.555 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.4297, allocations: 19.44 kB / 430.8 MB, free: 9.535 MB / 315.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4297, allocations: 4 kB / 430.8 MB, free: 9.531 MB / 315.1 MB Notification: Performance of Templates: time 0.005607/0.4354, allocations: 2.4 MB / 433.2 MB, free: 7.18 MB / 315.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)