Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001247/0.001247, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.624/1.624, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001379/0.001379, allocations: 59.86 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3533, allocations: 46.63 MB / 325.3 MB, free: 1.875 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.008411/0.3618, allocations: 5.956 MB / 331.3 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.3665, allocations: 1.676 MB / 332.9 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006736/0.3672, allocations: 40.97 kB / 333 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006485/0.368, allocations: 308.8 kB / 333.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.3691, allocations: 359.2 kB / 333.6 MB, free: 11.19 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.3699, allocations: 359.5 kB / 334 MB, free: 10.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.372, allocations: 2.009 MB / 336 MB, free: 9.219 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/0.3748, allocations: 2.699 MB / 338.7 MB, free: 6.457 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.3761, allocations: 1.036 MB / 339.7 MB, free: 5.418 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.3775, allocations: 1.202 MB / 340.9 MB, free: 4.211 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004019/0.3779, allocations: 308 kB / 341.2 MB, free: 3.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008063/0.3787, allocations: 479.6 kB / 341.7 MB, free: 3.441 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006902/0.3794, allocations: 0.7247 MB / 342.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.3809, allocations: 1.26 MB / 343.7 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004021/0.3849, allocations: 3.748 MB / 347.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3849, allocations: 0 / 347.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3849, allocations: 0 / 347.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.743e-05/0.385, allocations: 0 / 347.4 MB, free: 13.69 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.004772/0.3898, allocations: 2.458 MB / 349.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3899, allocations: 8.031 kB / 349.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005667/0.3905, allocations: 242.1 kB / 350.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.3922, allocations: 1.174 MB / 351.3 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.3923, allocations: 172.9 kB / 351.5 MB, free: 9.535 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.3926, allocations: 224.1 kB / 351.7 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004193/0.3968, allocations: 2.542 MB / 354.2 MB, free: 6.723 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.3969, allocations: 0 / 354.2 MB, free: 6.723 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.3971, allocations: 92 kB / 354.3 MB, free: 6.633 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.127e-05/0.3971, allocations: 56 kB / 354.4 MB, free: 6.578 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003588/0.4007, allocations: 2.134 MB / 356.5 MB, free: 4.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.4123, allocations: 7.603 MB / 364.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.4138, allocations: 1.252 MB / 365.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.4148, allocations: 0.6257 MB / 366 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.36e-05/0.4149, allocations: 4.562 kB / 366 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.4149, allocations: 43.06 kB / 366 MB, free: 10.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 5.12e-06/0.415, allocations: 3.984 kB / 366 MB, free: 10.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004882/0.4198, allocations: 2.435 MB / 368.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.4199, allocations: 59.97 kB / 368.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.4211, allocations: 0.797 MB / 369.3 MB, free: 7.164 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.4211, allocations: 33.7 kB / 369.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007552/0.4219, allocations: 0.9177 MB / 370.3 MB, free: 6.191 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.4221, allocations: 224.8 kB / 370.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.4224, allocations: 146.5 kB / 370.7 MB, free: 5.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.4227, allocations: 394.8 kB / 371 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/0.4232, allocations: 369.6 kB / 371.4 MB, free: 5.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/0.424, allocations: 0.5828 MB / 372 MB, free: 4.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.4254, allocations: 0.9932 MB / 373 MB, free: 3.293 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.4254, allocations: 0 / 373 MB, free: 3.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001853/0.4273, allocations: 1.147 MB / 374.1 MB, free: 2.137 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.4273, allocations: 16.03 kB / 374.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.4273, allocations: 7.984 kB / 374.1 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/0.4277, allocations: 108.7 kB / 374.3 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/0.4283, allocations: 175.8 kB / 374.4 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.431, allocations: 2.329 MB / 376.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006042/0.4316, allocations: 39.97 kB / 376.8 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.4317, allocations: 35.98 kB / 376.8 MB, free: 15.29 MB / 318.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.001367/0.433, allocations: 0.6497 MB / 377.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.4333, allocations: 86.91 kB / 377.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.4335, allocations: 95.56 kB / 377.7 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/0.4335, allocations: 11.98 kB / 377.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/0.4335, allocations: 4 kB / 377.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.4335, allocations: 0 / 377.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004676/0.4382, allocations: 2.669 MB / 380.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.4382, allocations: 0 / 380.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.4387, allocations: 120 kB / 380.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/0.439, allocations: 92.91 kB / 380.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/0.439, allocations: 23.98 kB / 380.6 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/0.4413, allocations: 2.267 MB / 382.8 MB, free: 9.035 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4413, allocations: 0 / 382.8 MB, free: 9.035 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.4436, allocations: 1.415 MB / 384.3 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/0.444, allocations: 228 kB / 384.5 MB, free: 7.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/0.4441, allocations: 24.03 kB / 384.5 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.4445, allocations: 47.95 kB / 384.5 MB, free: 7.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.4447, allocations: 48.44 kB / 384.6 MB, free: 7.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.4447, allocations: 16 kB / 384.6 MB, free: 7.207 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008095/0.4455, allocations: 0.5654 MB / 385.2 MB, free: 6.648 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4455, allocations: 0 / 385.2 MB, free: 6.648 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001319/0.4469, allocations: 296 kB / 385.5 MB, free: 6.359 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.0003615/0.4472, allocations: 135.1 kB / 385.6 MB, free: 6.215 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.4494, allocations: 1.131 MB / 386.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.4494, allocations: 0 / 386.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008894/0.4503, allocations: 0.5659 MB / 387.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4514, allocations: 235.4 kB / 387.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00537/0.4567, allocations: 3.246 MB / 390.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.4582, allocations: 1.72 MB / 392.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006339/0.4588, allocations: 199.1 kB / 392.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.459, allocations: 59.44 kB / 392.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of SimCode: time 1.362e-06/0.459, allocations: 0 / 392.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Templates: time 0.02536/0.4844, allocations: 12.24 MB / 405 MB, free: 2.707 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1)