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.007426/0.007426, allocations: 102.6 kB / 15.73 MB, free: 6.062 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.001719/0.001719, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.577/1.577, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.001251/0.001251, allocations: 48.91 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0884/0.08966, allocations: 46.63 MB / 373.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00464/0.09433, allocations: 3.232 MB / 376.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.09673, allocations: 1.34 MB / 377.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003543/0.0971, allocations: 8 kB / 377.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005564/0.09771, allocations: 143.1 kB / 377.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.09888, allocations: 369.9 kB / 378.3 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.0995, allocations: 255.2 kB / 378.5 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007873/0.1003, allocations: 449.9 kB / 378.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.1006, allocations: 156.2 kB / 379.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.1009, allocations: 171.4 kB / 379.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004375/0.1014, allocations: 207.1 kB / 379.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.1015, allocations: 32 kB / 379.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.102, allocations: 155.9 kB / 379.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.46e-05/0.1021, allocations: 83.69 kB / 379.7 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.1024, allocations: 195 kB / 379.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008121/0.1032, allocations: 0.5334 MB / 380.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1032, allocations: 0 / 380.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1032, allocations: 0 / 380.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.1032, allocations: 0 / 380.5 MB, free: 10.11 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.001991/0.1052, allocations: 0.737 MB / 381.2 MB, free: 9.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1053, allocations: 11.89 kB / 381.2 MB, free: 9.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006802/0.106, allocations: 100.4 kB / 381.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.1066, allocations: 308.5 kB / 381.6 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.1066, allocations: 25.38 kB / 381.6 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.829e-05/0.1067, allocations: 36.38 kB / 381.7 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.1074, allocations: 353.6 kB / 382 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1074, allocations: 4 kB / 382 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.1075, allocations: 12 kB / 382 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1075, allocations: 11.94 kB / 382 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005218/0.108, allocations: 246.1 kB / 382.3 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.1103, allocations: 1.308 MB / 383.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.1107, allocations: 197.1 kB / 383.8 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.1109, allocations: 86.06 kB / 383.9 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009456/0.1118, allocations: 0.8826 MB / 384.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1119, allocations: 30.56 kB / 384.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.512e-06/0.1119, allocations: 0 / 384.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006239/0.1125, allocations: 225.2 kB / 385 MB, free: 5.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.1126, allocations: 85.05 kB / 385.1 MB, free: 5.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.1129, allocations: 283 kB / 385.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.1129, allocations: 33.7 kB / 385.4 MB, free: 4.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1131, allocations: 227.5 kB / 385.6 MB, free: 4.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.1131, allocations: 71.08 kB / 385.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.1133, allocations: 61.94 kB / 385.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1134, allocations: 342.8 kB / 386.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.1136, allocations: 64.62 kB / 386.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.1138, allocations: 206.3 kB / 386.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.1143, allocations: 284.9 kB / 386.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.1143, allocations: 8 kB / 386.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005469/0.1148, allocations: 309.3 kB / 386.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1149, allocations: 12.09 kB / 386.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.1149, allocations: 4 kB / 386.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.1149, allocations: 8 kB / 386.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.1152, allocations: 83.83 kB / 387 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.1152, allocations: 11.94 kB / 387 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.1154, allocations: 39.58 kB / 387.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.1154, allocations: 16 kB / 387.1 MB, free: 2.93 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.00016/0.1156, allocations: 157.7 kB / 387.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.1157, allocations: 23.97 kB / 387.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.1158, allocations: 29.73 kB / 387.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1158, allocations: 7.938 kB / 387.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1158, allocations: 4 kB / 387.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1158, allocations: 0 / 387.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.1166, allocations: 0.5069 MB / 387.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1166, allocations: 7.969 kB / 387.8 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.1168, allocations: 47.86 kB / 387.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1168, allocations: 3.984 kB / 387.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.1168, allocations: 8 kB / 387.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1168, allocations: 0 / 387.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1168, allocations: 0 / 387.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005851/0.1174, allocations: 423.1 kB / 388.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1176, allocations: 112.7 kB / 388.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.1176, allocations: 3.984 kB / 388.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.1178, allocations: 12 kB / 388.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.1179, allocations: 11.98 kB / 388.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1179, allocations: 12.05 kB / 388.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.1181, allocations: 198 kB / 388.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1181, allocations: 0 / 388.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004586/0.1186, allocations: 87.69 kB / 388.7 MB, free: 1.191 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.000154/0.1187, allocations: 103.2 kB / 388.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.1192, allocations: 187.8 kB / 389 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1192, allocations: 4 kB / 389 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1193, allocations: 69.03 kB / 389.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.1197, allocations: 40.88 kB / 389.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1209, allocations: 0.6506 MB / 389.8 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1212, allocations: 0.7753 MB / 390.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.1213, allocations: 34.97 kB / 390.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.1214, allocations: 23.44 kB / 390.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1214, allocations: 0 / 390.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Templates: time 0.0061/0.1275, allocations: 2.412 MB / 393 MB, free: 12.83 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)