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.001135/0.001135, allocations: 106.5 kB / 17.06 MB, free: 6.016 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.00117/0.00117, allocations: 195 kB / 18 MB, free: 5.094 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.313/1.313, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.001304/0.001304, allocations: 51.92 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07723/0.07855, allocations: 46.61 MB / 374.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003539/0.08212, allocations: 2.773 MB / 377.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.08371, allocations: 0.7523 MB / 378 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.08401, allocations: 8 kB / 378 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.08423, allocations: 59.42 kB / 378.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.0846, allocations: 95.06 kB / 378.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.08505, allocations: 131.8 kB / 378.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.08552, allocations: 430.8 kB / 378.7 MB, free: 340 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.08589, allocations: 224.8 kB / 378.9 MB, free: 108 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1726/0.2585, allocations: 172.6 kB / 379.1 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.2589, allocations: 201.7 kB / 379.3 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.2591, allocations: 44.91 kB / 379.3 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.2593, allocations: 46.38 kB / 379.4 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.65e-05/0.2594, allocations: 99.7 kB / 379.5 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.2596, allocations: 212.1 kB / 379.7 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006708/0.2603, allocations: 0.4915 MB / 380.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2603, allocations: 2.219 kB / 380.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2603, allocations: 1.375 kB / 380.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.773e-05/0.2604, allocations: 0 / 380.2 MB, free: 9.816 MB / 318.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.001333/0.2617, allocations: 0.6879 MB / 380.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2618, allocations: 9.75 kB / 380.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.2619, allocations: 43.69 kB / 380.9 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.2622, allocations: 286.6 kB / 381.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.2622, allocations: 31.56 kB / 381.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.2623, allocations: 42.72 kB / 381.3 MB, free: 9.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007813/0.2631, allocations: 451.3 kB / 381.7 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.2631, allocations: 5.625 kB / 381.7 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.2632, allocations: 19.91 kB / 381.7 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.2632, allocations: 12.22 kB / 381.8 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006614/0.2639, allocations: 283.7 kB / 382 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.2659, allocations: 1.287 MB / 383.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.2664, allocations: 237.7 kB / 383.6 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.2668, allocations: 195.2 kB / 383.7 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.2669, allocations: 6.281 kB / 383.7 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.2669, allocations: 39.91 kB / 383.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.184e-06/0.2669, allocations: 0 / 383.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001535/0.2685, allocations: 0.5475 MB / 384.3 MB, free: 8.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.2685, allocations: 239.8 kB / 384.6 MB, free: 7.801 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.2688, allocations: 210.4 kB / 384.8 MB, free: 7.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.2688, allocations: 31.55 kB / 384.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2689, allocations: 199.4 kB / 385 MB, free: 7.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.269, allocations: 102.9 kB / 385.1 MB, free: 7.387 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.2691, allocations: 58.42 kB / 385.2 MB, free: 7.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.321e-05/0.2692, allocations: 340.5 kB / 385.5 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.2693, allocations: 76.61 kB / 385.6 MB, free: 6.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.2696, allocations: 160.1 kB / 385.7 MB, free: 6.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.2704, allocations: 361.2 kB / 386.1 MB, free: 6.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2704, allocations: 0 / 386.1 MB, free: 6.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004379/0.2709, allocations: 287.4 kB / 386.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2709, allocations: 5.375 kB / 386.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2709, allocations: 1.062 kB / 386.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2709, allocations: 2.844 kB / 386.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.2713, allocations: 78.61 kB / 386.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2713, allocations: 1.125 kB / 386.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.2715, allocations: 40.31 kB / 386.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.2715, allocations: 7.609 kB / 386.5 MB, free: 6.578 MB / 318.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.0002705/0.2718, allocations: 164 kB / 386.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.2718, allocations: 32.28 kB / 386.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.466e-05/0.2719, allocations: 33.66 kB / 386.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2719, allocations: 2.312 kB / 386.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/0.2719, allocations: 2.344 kB / 386.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.272, allocations: 1.969 kB / 386.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.273, allocations: 0.7659 MB / 387.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.273, allocations: 0.75 kB / 387.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.2732, allocations: 55.25 kB / 387.5 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.2735, allocations: 90.41 kB / 387.6 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2735, allocations: 6.297 kB / 387.6 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.2751, allocations: 1.968 MB / 389.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2751, allocations: 1.953 kB / 389.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007149/0.2758, allocations: 0.5075 MB / 390.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.2759, allocations: 101.9 kB / 390.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.2759, allocations: 17.47 kB / 390.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.2761, allocations: 12.03 kB / 390.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.2762, allocations: 23.53 kB / 390.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.2762, allocations: 5.953 kB / 390.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.2763, allocations: 154.7 kB / 390.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of sort global known variables: time 3e-07/0.2763, allocations: 0 / 390.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.2767, allocations: 114.1 kB / 390.5 MB, free: 3.617 MB / 318.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.0001221/0.2768, allocations: 107.7 kB / 390.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003914/0.2772, allocations: 207.2 kB / 390.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2772, allocations: 1.125 kB / 390.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.2776, allocations: 274.8 kB / 391.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.2779, allocations: 27.83 kB / 391.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2791, allocations: 0.8412 MB / 392 MB, free: 2.727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.2794, allocations: 0.7845 MB / 392.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.2795, allocations: 26.41 kB / 392.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.2796, allocations: 26.05 kB / 392.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2796, allocations: 0 / 392.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of Templates: time 0.00678/0.2864, allocations: 3.025 MB / 395.8 MB, free: 1.766 MB / 318.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)