Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.008665/0.008665, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001369/0.001369, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.43/1.43, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001159/0.001159, allocations: 52.94 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08709/0.08826, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004274/0.09257, allocations: 3.232 MB / 376.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.09475, allocations: 1.344 MB / 377.7 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.09496, allocations: 12 kB / 377.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.09542, allocations: 151 kB / 377.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008148/0.09625, allocations: 353.9 kB / 378.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.09673, allocations: 267.1 kB / 378.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.09725, allocations: 450 kB / 378.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.09751, allocations: 160.1 kB / 379.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.0977, allocations: 167.3 kB / 379.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.09795, allocations: 195.2 kB / 379.5 MB, free: 11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.09802, allocations: 36 kB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.09831, allocations: 163.8 kB / 379.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.09839, allocations: 75.69 kB / 379.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.09859, allocations: 199 kB / 379.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.09923, allocations: 0.5292 MB / 380.4 MB, free: 10 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.09925, allocations: 4 kB / 380.5 MB, free: 10 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09925, allocations: 3.938 kB / 380.5 MB, free: 9.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.09927, allocations: 0 / 380.5 MB, free: 9.996 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00137/0.1006, allocations: 0.752 MB / 381.2 MB, free: 9.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1007, allocations: 19.89 kB / 381.2 MB, free: 9.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005799/0.1013, allocations: 100.6 kB / 381.3 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.1017, allocations: 308.7 kB / 381.6 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.1018, allocations: 25.38 kB / 381.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.1019, allocations: 32.38 kB / 381.7 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.1024, allocations: 357.6 kB / 382 MB, free: 8.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1025, allocations: 0 / 382 MB, free: 8.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.1025, allocations: 16 kB / 382 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.1025, allocations: 8 kB / 382.1 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004832/0.103, allocations: 250.1 kB / 382.3 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.105, allocations: 1.308 MB / 383.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.1053, allocations: 197.1 kB / 383.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.1055, allocations: 89.62 kB / 383.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007932/0.1063, allocations: 0.8636 MB / 384.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.1064, allocations: 46.48 kB / 384.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.1064, allocations: 0 / 384.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005512/0.1069, allocations: 225.4 kB / 385 MB, free: 5.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.107, allocations: 81.05 kB / 385.1 MB, free: 5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.1073, allocations: 287 kB / 385.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1073, allocations: 29.7 kB / 385.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.1075, allocations: 244 kB / 385.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.1075, allocations: 59.48 kB / 385.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-05/0.1076, allocations: 69.97 kB / 385.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1078, allocations: 342.8 kB / 386.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1079, allocations: 64.62 kB / 386.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.1082, allocations: 198.4 kB / 386.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.1085, allocations: 292.9 kB / 386.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1086, allocations: 0 / 386.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005181/0.1091, allocations: 321 kB / 387 MB, free: 2.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1091, allocations: 4 kB / 387 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1091, allocations: 8 kB / 387 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1092, allocations: 7.984 kB / 387 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.1094, allocations: 84.28 kB / 387.1 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1095, allocations: 4 kB / 387.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1097, allocations: 47.72 kB / 387.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.1097, allocations: 16 kB / 387.1 MB, free: 2.789 MB / 318.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.00014/0.1098, allocations: 157.7 kB / 387.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.1099, allocations: 23.86 kB / 387.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.11, allocations: 29.73 kB / 387.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.11, allocations: 3.938 kB / 387.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.11, allocations: 4 kB / 387.3 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.11, allocations: 12.17 kB / 387.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006745/0.1107, allocations: 0.5069 MB / 387.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1107, allocations: 4 kB / 387.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.1109, allocations: 47.91 kB / 387.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1109, allocations: 4 kB / 387.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.111, allocations: 0 / 387.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.111, allocations: 0 / 387.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.111, allocations: 8.031 kB / 387.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.1115, allocations: 419.3 kB / 388.3 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.1116, allocations: 108.9 kB / 388.4 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.1116, allocations: 8 kB / 388.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.1118, allocations: 16.05 kB / 388.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.1119, allocations: 11.98 kB / 388.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1119, allocations: 4 kB / 388.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.1121, allocations: 198 kB / 388.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1121, allocations: 3.938 kB / 388.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004185/0.1125, allocations: 87.78 kB / 388.8 MB, free: 1.051 MB / 318.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.0001495/0.1127, allocations: 111.2 kB / 388.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004006/0.1131, allocations: 196.8 kB / 389.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1131, allocations: 4.062 kB / 389.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1133, allocations: 67.91 kB / 389.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.1137, allocations: 32.81 kB / 389.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.1148, allocations: 0.6577 MB / 389.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.1151, allocations: 0.7675 MB / 390.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.1152, allocations: 34.95 kB / 390.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.1153, allocations: 31.42 kB / 390.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1153, allocations: 0 / 390.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of Templates: time 0.005557/0.1208, allocations: 2.373 MB / 393 MB, free: 12.71 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)