Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.005309/0.005314, allocations: 104.2 kB / 15.74 MB, free: 6.035 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.001075/0.001075, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.396/1.396, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.001143/0.001143, allocations: 51.19 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08711/0.08826, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004483/0.09278, allocations: 3.232 MB / 376.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.09473, allocations: 1.359 MB / 377.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.09489, allocations: 4 kB / 377.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.09533, allocations: 147 kB / 377.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008343/0.09617, allocations: 357.9 kB / 378.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.09667, allocations: 263.1 kB / 378.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.09724, allocations: 450 kB / 379 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.0975, allocations: 156.2 kB / 379.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.0977, allocations: 167.3 kB / 379.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.09795, allocations: 199.2 kB / 379.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.954e-05/0.09801, allocations: 36 kB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003033/0.09832, allocations: 163.8 kB / 379.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.853e-05/0.0984, allocations: 79.7 kB / 379.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.09858, allocations: 195 kB / 379.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.09914, allocations: 0.5295 MB / 380.5 MB, free: 9.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.09916, allocations: 3.938 kB / 380.5 MB, free: 9.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09917, allocations: 4 kB / 380.5 MB, free: 9.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.09918, allocations: 0 / 380.5 MB, free: 9.988 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.001481/0.1007, allocations: 0.7409 MB / 381.2 MB, free: 9.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1007, allocations: 15.89 kB / 381.2 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006172/0.1013, allocations: 92.42 kB / 381.3 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.1018, allocations: 304.5 kB / 381.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.1019, allocations: 29.38 kB / 381.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.1019, allocations: 32.31 kB / 381.7 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.1026, allocations: 361.6 kB / 382 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1026, allocations: 3.984 kB / 382 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.1026, allocations: 12 kB / 382 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.1026, allocations: 11.98 kB / 382 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.1032, allocations: 250.1 kB / 382.3 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.1053, allocations: 1.296 MB / 383.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.1056, allocations: 201.1 kB / 383.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.1058, allocations: 85.95 kB / 383.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000761/0.1066, allocations: 0.875 MB / 384.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1066, allocations: 34.56 kB / 384.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.1066, allocations: 0 / 384.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005508/0.1072, allocations: 221.2 kB / 385 MB, free: 5.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.1072, allocations: 81.05 kB / 385.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.1075, allocations: 291 kB / 385.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1076, allocations: 29.7 kB / 385.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1077, allocations: 235.4 kB / 385.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.1078, allocations: 67.09 kB / 385.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.548e-05/0.1078, allocations: 61.88 kB / 385.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.108, allocations: 338.8 kB / 386.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1081, allocations: 68.61 kB / 386.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.1083, allocations: 194.4 kB / 386.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.1087, allocations: 292.9 kB / 386.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1087, allocations: 3.938 kB / 386.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000521/0.1093, allocations: 316.9 kB / 386.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1093, allocations: 8 kB / 386.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1093, allocations: 4 kB / 386.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.1093, allocations: 4 kB / 386.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.1096, allocations: 92.33 kB / 387 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1096, allocations: 8 kB / 387 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1098, allocations: 39.84 kB / 387.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.1099, allocations: 19.98 kB / 387.1 MB, free: 2.816 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.0001369/0.11, allocations: 153.7 kB / 387.3 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.1101, allocations: 27.72 kB / 387.3 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.1101, allocations: 33.72 kB / 387.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1101, allocations: 7.938 kB / 387.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1102, allocations: 4 kB / 387.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1102, allocations: 0 / 387.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.1108, allocations: 0.5069 MB / 387.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.1108, allocations: 0 / 387.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.111, allocations: 47.84 kB / 387.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.1111, allocations: 4 kB / 387.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1111, allocations: 7.922 kB / 387.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1111, allocations: 8.031 kB / 387.9 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1111, allocations: 0 / 387.9 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.1116, allocations: 419.1 kB / 388.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.1117, allocations: 104.7 kB / 388.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.1117, allocations: 12.06 kB / 388.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.1119, allocations: 15.98 kB / 388.4 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.112, allocations: 7.984 kB / 388.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.112, allocations: 4 kB / 388.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.1122, allocations: 202 kB / 388.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1122, allocations: 0 / 388.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004056/0.1126, allocations: 83.69 kB / 388.7 MB, free: 1.086 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.0001461/0.1128, allocations: 115.2 kB / 388.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004191/0.1132, allocations: 192.7 kB / 389 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1132, allocations: 0 / 389 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1134, allocations: 68.34 kB / 389.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.1138, allocations: 37 kB / 389.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.1149, allocations: 0.6588 MB / 389.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.1153, allocations: 0.7791 MB / 390.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.1154, allocations: 30.97 kB / 390.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.1155, allocations: 23.44 kB / 390.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1155, allocations: 0 / 390.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Templates: time 0.006721/0.1222, allocations: 2.369 MB / 393 MB, free: 12.75 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)