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.001062/0.001062, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001153/0.001153, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.352/1.352, allocations: 205.1 MB / 222 MB, free: 4.758 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.001192/0.001193, allocations: 51.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2453, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003436/0.2487, allocations: 2.813 MB / 327.5 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.2499, allocations: 0.7516 MB / 328.2 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.25, allocations: 6.281 kB / 328.2 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.2501, allocations: 42.67 kB / 328.3 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.2503, allocations: 77.34 kB / 328.4 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.2506, allocations: 102.5 kB / 328.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.251, allocations: 422.2 kB / 328.9 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.2513, allocations: 191.9 kB / 329.1 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.2515, allocations: 162.2 kB / 329.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.2517, allocations: 193.7 kB / 329.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.829e-05/0.2518, allocations: 34.94 kB / 329.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.613e-05/0.2519, allocations: 32.91 kB / 329.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.85e-05/0.2519, allocations: 89.02 kB / 329.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.2521, allocations: 203.9 kB / 329.8 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.2525, allocations: 477.2 kB / 330.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.709e-06/0.2525, allocations: 5.047 kB / 330.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2525, allocations: 0 / 330.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.2526, allocations: 4 kB / 330.2 MB, free: 13.7 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.001045/0.2536, allocations: 0.6852 MB / 330.9 MB, free: 13.11 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.2537, allocations: 9.594 kB / 330.9 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.2538, allocations: 50.41 kB / 331 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.254, allocations: 273.7 kB / 331.2 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.2541, allocations: 30.47 kB / 331.3 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.2541, allocations: 47.97 kB / 331.3 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/0.2548, allocations: 453 kB / 331.8 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2549, allocations: 0 / 331.8 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.2549, allocations: 16.41 kB / 331.8 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2549, allocations: 14 kB / 331.8 MB, free: 12.45 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.2554, allocations: 282.2 kB / 332.1 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.2573, allocations: 1.312 MB / 333.4 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.2577, allocations: 242.7 kB / 333.6 MB, free: 10.98 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.2581, allocations: 196.8 kB / 333.8 MB, free: 10.79 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.2581, allocations: 4 kB / 333.8 MB, free: 10.78 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.2581, allocations: 42.55 kB / 333.9 MB, free: 10.73 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.2581, allocations: 0 / 333.9 MB, free: 10.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001319/0.2595, allocations: 0.5391 MB / 334.4 MB, free: 10.16 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.133e-05/0.2596, allocations: 243.3 kB / 334.6 MB, free: 9.871 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.2598, allocations: 206.8 kB / 334.8 MB, free: 9.656 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.2598, allocations: 33.7 kB / 334.9 MB, free: 9.617 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.2599, allocations: 195.9 kB / 335.1 MB, free: 9.422 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.419e-05/0.26, allocations: 106.5 kB / 335.2 MB, free: 9.316 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.2601, allocations: 61.69 kB / 335.2 MB, free: 9.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.2602, allocations: 334.8 kB / 335.6 MB, free: 8.914 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.2603, allocations: 71.97 kB / 335.6 MB, free: 8.844 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.2606, allocations: 165 kB / 335.8 MB, free: 8.652 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008507/0.2614, allocations: 362.4 kB / 336.1 MB, free: 8.293 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2614, allocations: 4 kB / 336.1 MB, free: 8.289 MB / 270.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004585/0.2619, allocations: 285.2 kB / 336.4 MB, free: 8.004 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2619, allocations: 4 kB / 336.4 MB, free: 8 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2619, allocations: 3.938 kB / 336.4 MB, free: 7.996 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.262, allocations: 4 kB / 336.4 MB, free: 7.992 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.2623, allocations: 83.95 kB / 336.5 MB, free: 7.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2623, allocations: 4 kB / 336.5 MB, free: 7.906 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.2625, allocations: 31.69 kB / 336.5 MB, free: 7.875 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2625, allocations: 15.98 kB / 336.6 MB, free: 7.859 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.0002537/0.2628, allocations: 153.7 kB / 336.7 MB, free: 7.699 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.2628, allocations: 27.66 kB / 336.7 MB, free: 7.672 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.165e-05/0.2629, allocations: 34.64 kB / 336.8 MB, free: 7.637 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2629, allocations: 8 kB / 336.8 MB, free: 7.629 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.263, allocations: 4 kB / 336.8 MB, free: 7.625 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.263, allocations: 3.938 kB / 336.8 MB, free: 7.621 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.264, allocations: 0.7633 MB / 337.6 MB, free: 6.797 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.264, allocations: 0 / 337.6 MB, free: 6.797 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.2643, allocations: 47.97 kB / 337.6 MB, free: 6.75 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002874/0.2646, allocations: 92.77 kB / 337.7 MB, free: 6.656 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.2646, allocations: 8 kB / 337.7 MB, free: 6.648 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.2664, allocations: 1.835 MB / 339.5 MB, free: 4.68 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2665, allocations: 0 / 339.5 MB, free: 4.68 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000807/0.2673, allocations: 0.5172 MB / 340.1 MB, free: 4.141 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.514e-05/0.2674, allocations: 108.7 kB / 340.2 MB, free: 4.016 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.2674, allocations: 4.062 kB / 340.2 MB, free: 4.012 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2676, allocations: 12 kB / 340.2 MB, free: 4 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.2677, allocations: 23.95 kB / 340.2 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.2677, allocations: 8 kB / 340.2 MB, free: 3.969 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.2679, allocations: 148.6 kB / 340.4 MB, free: 3.824 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2679, allocations: 0 / 340.4 MB, free: 3.824 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.2683, allocations: 107.7 kB / 340.5 MB, free: 3.719 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.0001391/0.2684, allocations: 103.2 kB / 340.6 MB, free: 3.609 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003868/0.2688, allocations: 211.6 kB / 340.8 MB, free: 3.402 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2688, allocations: 0 / 340.8 MB, free: 3.402 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.2692, allocations: 278.7 kB / 341 MB, free: 3.117 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.2695, allocations: 23.94 kB / 341.1 MB, free: 3.094 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.2708, allocations: 0.9943 MB / 342.1 MB, free: 2.07 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.2712, allocations: 0.7908 MB / 342.8 MB, free: 1.25 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.443e-05/0.2713, allocations: 25.95 kB / 342.9 MB, free: 1.223 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.2714, allocations: 23.38 kB / 342.9 MB, free: 1.199 MB / 270.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2714, allocations: 0 / 342.9 MB, free: 1.199 MB / 270.1 MB Notification: Performance of Templates: time 0.006114/0.2775, allocations: 2.75 MB / 345.6 MB, free: 14.45 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)