Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009789/0.0009789, allocations: 87.33 kB / 16.65 MB, free: 6.535 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.001239/0.001239, allocations: 174.7 kB / 17.56 MB, free: 6.184 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.307/1.307, allocations: 205.4 MB / 223.7 MB, free: 13.05 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.0006619/0.000662, allocations: 11.98 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09887, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003231/0.1022, allocations: 2.88 MB / 331.2 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1041, allocations: 1.317 MB / 332.5 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.1043, allocations: 8 kB / 332.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.1047, allocations: 127.4 kB / 332.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007555/0.1054, allocations: 314.5 kB / 333 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.1059, allocations: 247.2 kB / 333.2 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004732/0.1064, allocations: 418.1 kB / 333.6 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.1066, allocations: 136.6 kB / 333.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.1068, allocations: 147.3 kB / 333.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.107, allocations: 175.2 kB / 334.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.107, allocations: 16 kB / 334.1 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.1073, allocations: 147.9 kB / 334.2 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.1074, allocations: 63.64 kB / 334.3 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.1075, allocations: 200.8 kB / 334.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.1081, allocations: 0.5062 MB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1081, allocations: 0 / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1081, allocations: 0 / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1081, allocations: 0 / 335 MB, free: 13.05 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001303/0.1094, allocations: 0.6825 MB / 335.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.1094, allocations: 12.03 kB / 335.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000591/0.11, allocations: 96.34 kB / 335.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.1104, allocations: 316.5 kB / 336.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.1105, allocations: 21.38 kB / 336.1 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.1105, allocations: 36.38 kB / 336.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.1111, allocations: 357.6 kB / 336.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1111, allocations: 0 / 336.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.1112, allocations: 15.94 kB / 336.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1112, allocations: 12 kB / 336.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.1117, allocations: 254.1 kB / 336.8 MB, free: 11.17 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.1137, allocations: 1.331 MB / 338.1 MB, free: 9.738 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.1141, allocations: 205.1 kB / 338.3 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.1143, allocations: 89.69 kB / 338.4 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008098/0.1151, allocations: 0.8674 MB / 339.2 MB, free: 8.457 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1151, allocations: 34.56 kB / 339.3 MB, free: 8.414 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.1151, allocations: 0 / 339.3 MB, free: 8.414 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.000555/0.1157, allocations: 237.3 kB / 339.5 MB, free: 8.176 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1157, allocations: 85.05 kB / 339.6 MB, free: 8.074 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.116, allocations: 278.9 kB / 339.9 MB, free: 7.797 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1161, allocations: 33.64 kB / 339.9 MB, free: 7.758 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.1162, allocations: 243.5 kB / 340.1 MB, free: 7.516 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.1163, allocations: 63.09 kB / 340.2 MB, free: 7.453 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.1163, allocations: 33.7 kB / 340.2 MB, free: 7.414 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1164, allocations: 338.8 kB / 340.6 MB, free: 7.074 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.1166, allocations: 72.61 kB / 340.6 MB, free: 7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1168, allocations: 202.4 kB / 340.8 MB, free: 6.742 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.1172, allocations: 300.8 kB / 341.1 MB, free: 6.387 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1173, allocations: 0 / 341.1 MB, free: 6.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005271/0.1178, allocations: 333.5 kB / 341.4 MB, free: 6.055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1178, allocations: 4 kB / 341.5 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.1178, allocations: 4 kB / 341.5 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1179, allocations: 8 kB / 341.5 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.1181, allocations: 87.78 kB / 341.5 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1182, allocations: 11.92 kB / 341.6 MB, free: 5.941 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1183, allocations: 39.59 kB / 341.6 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.1184, allocations: 16 kB / 341.6 MB, free: 5.887 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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.0001404/0.1185, allocations: 161.7 kB / 341.8 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.1186, allocations: 23.72 kB / 341.8 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.01e-05/0.1187, allocations: 29.73 kB / 341.8 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1187, allocations: 3.938 kB / 341.8 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1187, allocations: 0 / 341.8 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1187, allocations: 7.984 kB / 341.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/0.1194, allocations: 0.5149 MB / 342.4 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1194, allocations: 3.938 kB / 342.4 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.1196, allocations: 51.91 kB / 342.4 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1196, allocations: 4 kB / 342.4 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1196, allocations: 0 / 342.4 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1196, allocations: 4 kB / 342.4 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1196, allocations: 4.016 kB / 342.4 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.1202, allocations: 431.3 kB / 342.8 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.1203, allocations: 108.7 kB / 342.9 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.1203, allocations: 8 kB / 343 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.1205, allocations: 11.98 kB / 343 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.1206, allocations: 15.98 kB / 343 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.1206, allocations: 4 kB / 343 MB, free: 4.406 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.1208, allocations: 202 kB / 343.2 MB, free: 4.207 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1208, allocations: 0 / 343.2 MB, free: 4.207 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.1212, allocations: 83.75 kB / 343.3 MB, free: 4.125 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.1213, allocations: 115.2 kB / 343.4 MB, free: 4.004 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.1217, allocations: 198.7 kB / 343.6 MB, free: 3.812 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1217, allocations: 1.125 kB / 343.6 MB, free: 3.812 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.1219, allocations: 75.97 kB / 343.6 MB, free: 3.738 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.1223, allocations: 37.42 kB / 343.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1234, allocations: 0.8488 MB / 344.5 MB, free: 2.824 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.1237, allocations: 0.7718 MB / 345.3 MB, free: 2.027 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.1239, allocations: 38.94 kB / 345.3 MB, free: 1.988 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.124, allocations: 23.44 kB / 345.4 MB, free: 1.965 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.124, allocations: 0 / 345.4 MB, free: 1.965 MB / 286.1 MB Notification: Performance of Templates: time 0.005633/0.1296, allocations: 2.151 MB / 347.5 MB, free: 15.82 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)