Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001158/0.001158, allocations: 170 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.197/1.197, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001607/0.001607, allocations: 114.7 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.722e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06577/0.06581, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2479/0.3138, allocations: 67.44 MB / 375.1 MB, free: 8.84 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.314, allocations: 61.22 kB / 375.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.3296, allocations: 5.513 MB / 380.6 MB, free: 4.129 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3297, allocations: 0 / 380.6 MB, free: 4.129 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.473e-05/0.3297, allocations: 8 kB / 380.6 MB, free: 4.121 MB / 266.7 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.001224/0.331, allocations: 0.5922 MB / 381.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.331, allocations: 8.031 kB / 381.2 MB, free: 3.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.3312, allocations: 43.53 kB / 381.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.3316, allocations: 278.5 kB / 381.6 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.3317, allocations: 30.62 kB / 381.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.3318, allocations: 40.44 kB / 381.6 MB, free: 3.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3328, allocations: 435.7 kB / 382.1 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.3329, allocations: 7.891 kB / 382.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.3329, allocations: 16.81 kB / 382.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.333, allocations: 12 kB / 382.1 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007317/0.3337, allocations: 260.3 kB / 382.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.3366, allocations: 1.327 MB / 383.7 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.3372, allocations: 230.5 kB / 383.9 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.3378, allocations: 183.2 kB / 384.1 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.3378, allocations: 8 kB / 384.1 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.3378, allocations: 45.92 kB / 384.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.565e-06/0.3379, allocations: 0 / 384.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009063/0.3388, allocations: 280.4 kB / 384.4 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/0.339, allocations: 243.2 kB / 384.6 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.3392, allocations: 183.8 kB / 384.8 MB, free: 464 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.3393, allocations: 31.64 kB / 384.8 MB, free: 432 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.3394, allocations: 204.4 kB / 385 MB, free: 252 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.3396, allocations: 99.72 kB / 385.1 MB, free: 164 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.3396, allocations: 7.062 kB / 385.2 MB, free: 164 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3398, allocations: 336.1 kB / 385.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.34, allocations: 63.69 kB / 385.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.3403, allocations: 153.3 kB / 385.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3405, allocations: 84.97 kB / 385.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3406, allocations: 4 kB / 385.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006234/0.3412, allocations: 254.8 kB / 386 MB, free: 15.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3412, allocations: 4 kB / 386 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.3412, allocations: 12.02 kB / 386 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3413, allocations: 0 / 386 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.3418, allocations: 83.33 kB / 386.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.3418, allocations: 7.938 kB / 386.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.3421, allocations: 34.86 kB / 386.2 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.3422, allocations: 8 kB / 386.2 MB, free: 15.25 MB / 282.7 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 0.0001294/0.3423, allocations: 123.8 kB / 386.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.3424, allocations: 23.72 kB / 386.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.321e-05/0.3425, allocations: 38.77 kB / 386.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.3425, allocations: 7.953 kB / 386.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.3425, allocations: 0 / 386.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3426, allocations: 0 / 386.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.3442, allocations: 0.7736 MB / 387.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3442, allocations: 0 / 387.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.3446, allocations: 55.09 kB / 387.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/0.3451, allocations: 90.34 kB / 387.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.3451, allocations: 3.062 kB / 387.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002657/0.3478, allocations: 1.822 MB / 389.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3478, allocations: 0 / 389.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.3489, allocations: 0.496 MB / 389.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.349, allocations: 118.6 kB / 389.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.3491, allocations: 11.73 kB / 389.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.3494, allocations: 11.25 kB / 389.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.3494, allocations: 18.59 kB / 389.8 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.3495, allocations: 11.06 kB / 389.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.3497, allocations: 158.3 kB / 389.9 MB, free: 11.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3497, allocations: 4 kB / 389.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006175/0.3503, allocations: 112.1 kB / 390 MB, free: 11.79 MB / 282.7 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.0002026/0.3505, allocations: 110.2 kB / 390.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005305/0.3511, allocations: 189.2 kB / 390.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3511, allocations: 0 / 390.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005582/0.3517, allocations: 270.8 kB / 390.6 MB, free: 11.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.352, allocations: 25.95 kB / 390.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.3538, allocations: 0.6942 MB / 391.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.3543, allocations: 0.7911 MB / 392.1 MB, free: 9.809 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000157/0.3545, allocations: 22.08 kB / 392.1 MB, free: 9.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.3546, allocations: 23.42 kB / 392.1 MB, free: 9.766 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.3546, allocations: 0 / 392.1 MB, free: 9.766 MB / 282.7 MB Notification: Performance of Templates: time 0.008611/0.3632, allocations: 2.613 MB / 394.8 MB, free: 7.164 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1)