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.001225/0.001225, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.001353/0.001354, allocations: 51.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2307, allocations: 46.63 MB / 325.3 MB, free: 1.875 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003212/0.234, allocations: 2.779 MB / 328.1 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2354, allocations: 0.7482 MB / 328.8 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.2356, allocations: 5.094 kB / 328.8 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.2357, allocations: 66.75 kB / 328.9 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.2359, allocations: 93.88 kB / 329 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.2363, allocations: 129.5 kB / 329.1 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.2367, allocations: 428 kB / 329.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.2371, allocations: 219.5 kB / 329.8 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.2373, allocations: 178.4 kB / 329.9 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.2375, allocations: 194.9 kB / 330.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/0.2376, allocations: 52.12 kB / 330.2 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.2377, allocations: 45.66 kB / 330.2 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.069e-05/0.2378, allocations: 96.39 kB / 330.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.238, allocations: 220.9 kB / 330.5 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.2385, allocations: 497.6 kB / 331 MB, free: 13.54 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2385, allocations: 0 / 331 MB, free: 13.54 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2385, allocations: 3.938 kB / 331 MB, free: 13.53 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.2385, allocations: 4 kB / 331 MB, free: 13.53 MB / 270.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.001074/0.2396, allocations: 0.6779 MB / 331.7 MB, free: 12.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2396, allocations: 8.625 kB / 331.7 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.738e-05/0.2397, allocations: 51.94 kB / 331.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.24, allocations: 276.4 kB / 332 MB, free: 12.63 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.24, allocations: 30.16 kB / 332.1 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.2401, allocations: 43 kB / 332.1 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.2408, allocations: 453.5 kB / 332.5 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.2408, allocations: 5.297 kB / 332.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.2409, allocations: 20.25 kB / 332.6 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.2409, allocations: 10.28 kB / 332.6 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/0.2415, allocations: 282.6 kB / 332.8 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.2434, allocations: 1.301 MB / 334.1 MB, free: 10.88 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.2439, allocations: 250.6 kB / 334.4 MB, free: 10.62 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.2443, allocations: 192.8 kB / 334.6 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.2443, allocations: 7.984 kB / 334.6 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.2444, allocations: 34.55 kB / 334.6 MB, free: 10.38 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.2444, allocations: 0 / 334.6 MB, free: 10.38 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.00136/0.2457, allocations: 0.5501 MB / 335.2 MB, free: 9.805 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.2458, allocations: 239.3 kB / 335.4 MB, free: 9.516 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.246, allocations: 210.8 kB / 335.6 MB, free: 9.297 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2461, allocations: 29.7 kB / 335.6 MB, free: 9.262 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2462, allocations: 199.9 kB / 335.8 MB, free: 9.062 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.2463, allocations: 98.47 kB / 335.9 MB, free: 8.965 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.049e-05/0.2464, allocations: 65.69 kB / 336 MB, free: 8.895 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2465, allocations: 330.8 kB / 336.3 MB, free: 8.562 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2466, allocations: 71.97 kB / 336.4 MB, free: 8.492 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.2468, allocations: 169 kB / 336.6 MB, free: 8.297 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008632/0.2477, allocations: 362.6 kB / 336.9 MB, free: 7.938 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2477, allocations: 0 / 336.9 MB, free: 7.938 MB / 270.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004437/0.2482, allocations: 280.9 kB / 337.2 MB, free: 7.656 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2482, allocations: 8 kB / 337.2 MB, free: 7.648 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2482, allocations: 3.938 kB / 337.2 MB, free: 7.645 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2482, allocations: 0 / 337.2 MB, free: 7.645 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.2486, allocations: 87.95 kB / 337.3 MB, free: 7.559 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.2486, allocations: 4 kB / 337.3 MB, free: 7.555 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.2488, allocations: 27.69 kB / 337.3 MB, free: 7.527 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.2488, allocations: 11.98 kB / 337.3 MB, free: 7.516 MB / 270.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.0002789/0.2491, allocations: 157.8 kB / 337.5 MB, free: 7.352 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.2492, allocations: 27.66 kB / 337.5 MB, free: 7.324 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.974e-05/0.2492, allocations: 38.64 kB / 337.5 MB, free: 7.285 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2492, allocations: 4 kB / 337.5 MB, free: 7.281 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.2493, allocations: 0 / 337.5 MB, free: 7.281 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2493, allocations: 0 / 337.5 MB, free: 7.281 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.2503, allocations: 0.7711 MB / 338.3 MB, free: 6.449 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2503, allocations: 4 kB / 338.3 MB, free: 6.445 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.2506, allocations: 51.94 kB / 338.4 MB, free: 6.395 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002761/0.2509, allocations: 92.8 kB / 338.5 MB, free: 6.301 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.2509, allocations: 8 kB / 338.5 MB, free: 6.293 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.2528, allocations: 1.969 MB / 340.4 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2528, allocations: 0 / 340.4 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007562/0.2536, allocations: 0.51 MB / 341 MB, free: 3.656 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.2537, allocations: 104.7 kB / 341.1 MB, free: 3.535 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.2537, allocations: 8.062 kB / 341.1 MB, free: 3.527 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.2539, allocations: 12 kB / 341.1 MB, free: 3.516 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.254, allocations: 27.95 kB / 341.1 MB, free: 3.488 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.254, allocations: 8 kB / 341.1 MB, free: 3.48 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.2541, allocations: 156.3 kB / 341.3 MB, free: 3.328 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2541, allocations: 0 / 341.3 MB, free: 3.328 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003945/0.2545, allocations: 107.7 kB / 341.4 MB, free: 3.223 MB / 270.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.000155/0.2547, allocations: 103.5 kB / 341.5 MB, free: 3.109 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004655/0.2552, allocations: 219.9 kB / 341.7 MB, free: 2.895 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2552, allocations: 3.938 kB / 341.7 MB, free: 2.891 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.2556, allocations: 274.5 kB / 342 MB, free: 2.609 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.256, allocations: 24.69 kB / 342 MB, free: 2.586 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.2573, allocations: 0.8537 MB / 342.8 MB, free: 1.703 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.2577, allocations: 0.7908 MB / 343.6 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.802e-05/0.2578, allocations: 17.95 kB / 343.6 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.2579, allocations: 19.44 kB / 343.7 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2579, allocations: 4 kB / 343.7 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of Templates: time 0.006351/0.2642, allocations: 2.898 MB / 346.6 MB, free: 13.95 MB / 286.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)