Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00132/0.00132, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.602/1.602, allocations: 205.1 MB / 222 MB, free: 4.773 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.001331/0.001331, allocations: 48.3 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3475, allocations: 46.63 MB / 324.7 MB, free: 2.273 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.007874/0.3554, allocations: 5.936 MB / 330.6 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005318/0.3608, allocations: 1.638 MB / 332.3 MB, free: 12.24 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008151/0.3616, allocations: 34.47 kB / 332.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.3625, allocations: 248.2 kB / 332.5 MB, free: 12.03 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.3639, allocations: 325.6 kB / 332.8 MB, free: 11.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000763/0.3647, allocations: 307.8 kB / 333.1 MB, free: 11.51 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.3672, allocations: 2.12 MB / 335.3 MB, free: 9.781 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002759/0.37, allocations: 2.244 MB / 337.5 MB, free: 7.477 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.3715, allocations: 0.9031 MB / 338.4 MB, free: 6.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.373, allocations: 1.152 MB / 339.6 MB, free: 5.414 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003278/0.3733, allocations: 208 kB / 339.8 MB, free: 5.211 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008144/0.3741, allocations: 379.6 kB / 340.1 MB, free: 4.84 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006418/0.3748, allocations: 0.6231 MB / 340.8 MB, free: 4.215 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.3761, allocations: 1.143 MB / 341.9 MB, free: 3.066 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003744/0.3799, allocations: 3.678 MB / 345.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.3799, allocations: 4 kB / 345.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3799, allocations: 3.938 kB / 345.6 MB, free: 15.37 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.492e-05/0.38, allocations: 0 / 345.6 MB, free: 15.37 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004825/0.3849, allocations: 2.458 MB / 348.1 MB, free: 12.85 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.3849, allocations: 12.03 kB / 348.1 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006359/0.3856, allocations: 238.1 kB / 348.3 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.3876, allocations: 1.174 MB / 349.5 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.3878, allocations: 168.9 kB / 349.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.3881, allocations: 220.1 kB / 349.8 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004773/0.3929, allocations: 2.534 MB / 352.4 MB, free: 8.414 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.3929, allocations: 7.984 kB / 352.4 MB, free: 8.406 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.3931, allocations: 88 kB / 352.5 MB, free: 8.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.118e-05/0.3932, allocations: 60 kB / 352.5 MB, free: 8.262 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003671/0.3969, allocations: 2.141 MB / 354.7 MB, free: 6.105 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01267/0.4096, allocations: 7.596 MB / 362.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.4111, allocations: 1.25 MB / 363.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.4123, allocations: 0.6218 MB / 364.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.812e-05/0.4124, allocations: 8.562 kB / 364.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.4124, allocations: 39.12 kB / 364.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 4.738e-06/0.4125, allocations: 4 kB / 364.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.00462/0.4171, allocations: 2.435 MB / 366.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.4172, allocations: 63.91 kB / 366.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.4183, allocations: 0.8009 MB / 367.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.4183, allocations: 37.7 kB / 367.5 MB, free: 8.809 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006372/0.419, allocations: 0.9099 MB / 368.4 MB, free: 7.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.4191, allocations: 228.8 kB / 368.7 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.4194, allocations: 150.5 kB / 368.8 MB, free: 7.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000317/0.4197, allocations: 390.7 kB / 369.2 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005411/0.4203, allocations: 365.8 kB / 369.5 MB, free: 6.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/0.421, allocations: 0.5829 MB / 370.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.4223, allocations: 0.9816 MB / 371.1 MB, free: 4.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.4223, allocations: 4 kB / 371.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001893/0.4242, allocations: 1.155 MB / 372.3 MB, free: 3.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.4242, allocations: 11.94 kB / 372.3 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.4243, allocations: 8 kB / 372.3 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003256/0.4246, allocations: 108.8 kB / 372.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.4253, allocations: 175.8 kB / 372.6 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.4275, allocations: 2.127 MB / 374.7 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.4281, allocations: 47.89 kB / 374.7 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.4281, allocations: 28 kB / 374.8 MB, free: 1.195 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001391/0.4295, allocations: 0.6457 MB / 375.4 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.4298, allocations: 82.97 kB / 375.5 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.43, allocations: 99.62 kB / 375.6 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.786e-05/0.43, allocations: 19.92 kB / 375.6 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/0.4301, allocations: 4 kB / 375.6 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4301, allocations: 0 / 375.6 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004803/0.4349, allocations: 2.673 MB / 378.3 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.4349, allocations: 4 kB / 378.3 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.4354, allocations: 107.9 kB / 378.4 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002513/0.4357, allocations: 100.9 kB / 378.5 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.4357, allocations: 19.98 kB / 378.5 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/0.4379, allocations: 2.06 MB / 380.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.438, allocations: 0 / 380.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.4405, allocations: 1.427 MB / 382 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/0.441, allocations: 228.2 kB / 382.2 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/0.4411, allocations: 15.98 kB / 382.2 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.4415, allocations: 40.03 kB / 382.3 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.4417, allocations: 56.42 kB / 382.3 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.4417, allocations: 19.94 kB / 382.4 MB, free: 9.312 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008064/0.4425, allocations: 0.5536 MB / 382.9 MB, free: 8.766 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4425, allocations: 4.188 kB / 382.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001257/0.4438, allocations: 308 kB / 383.2 MB, free: 8.461 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003082/0.4441, allocations: 131.1 kB / 383.3 MB, free: 8.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.4459, allocations: 1.005 MB / 384.3 MB, free: 7.297 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.191e-05/0.4459, allocations: 5.688 kB / 384.4 MB, free: 7.293 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009117/0.4468, allocations: 0.5643 MB / 384.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.448, allocations: 202.8 kB / 385.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006401/0.4545, allocations: 4.139 MB / 389.3 MB, free: 2.332 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.4559, allocations: 1.717 MB / 391 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000687/0.4566, allocations: 211 kB / 391.2 MB, free: 384 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.4568, allocations: 63.42 kB / 391.2 MB, free: 320 kB / 318.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4568, allocations: 0 / 391.2 MB, free: 320 kB / 318.1 MB Notification: Performance of Templates: time 0.02243/0.4792, allocations: 11.72 MB / 403 MB, free: 4.578 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1)