Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001613/0.001613, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.000741/0.000741, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.292, allocations: 47.58 MB / 326.5 MB, free: 1.609 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01629/0.3084, allocations: 14.49 MB / 341 MB, free: 5.129 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.3188, allocations: 3.86 MB / 344.8 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004175/0.323, allocations: 115.7 kB / 344.9 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.3265, allocations: 0.7064 MB / 345.6 MB, free: 440 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006541/0.333, allocations: 1.275 MB / 346.9 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003653/0.3367, allocations: 0.9006 MB / 347.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.3488, allocations: 7.937 MB / 355.8 MB, free: 6.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04469/0.3936, allocations: 18.37 MB / 374.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008067/0.4017, allocations: 3.407 MB / 377.5 MB, free: 388 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008836/0.4106, allocations: 3.852 MB / 381.4 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002955/0.4136, allocations: 0.5547 MB / 381.9 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005306/0.4189, allocations: 0.7888 MB / 382.7 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003707/0.4226, allocations: 1.592 MB / 384.3 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005195/0.4278, allocations: 1.794 MB / 386.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02275/0.4506, allocations: 15.66 MB / 401.8 MB, free: 8.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4507, allocations: 0 / 401.8 MB, free: 8.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.4507, allocations: 0 / 401.8 MB, free: 8.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006841/0.4514, allocations: 0 / 401.8 MB, free: 8.066 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02845/0.4798, allocations: 8.854 MB / 410.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.4799, allocations: 8.031 kB / 410.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03007/0.51, allocations: 5.728 MB / 416.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/0.5225, allocations: 4.787 MB / 421.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008144/0.5233, allocations: 0.7103 MB / 421.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00423/0.5275, allocations: 0.9139 MB / 422.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04587/0.5734, allocations: 13.55 MB / 436.3 MB, free: 5.309 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005024/0.574, allocations: 11.97 kB / 436.3 MB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003959/0.578, allocations: 388 kB / 436.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006157/0.5786, allocations: 463.9 kB / 437.2 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03622/0.6148, allocations: 12.77 MB / 449.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5321/1.147, allocations: 47.02 MB / 497 MB, free: 70.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/1.159, allocations: 17.1 MB / 0.502 GB, free: 51.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/1.162, allocations: 1.901 MB / 0.5039 GB, free: 50.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009822/1.172, allocations: 6.086 MB / 0.5098 GB, free: 43.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/1.172, allocations: 52.56 kB / 0.5099 GB, free: 43.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=194): time 3.446e-06/1.172, allocations: 0 / 0.5099 GB, free: 43.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=194): time 0.007342/1.179, allocations: 4.386 MB / 0.5141 GB, free: 39.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/1.179, allocations: 69.41 kB / 0.5142 GB, free: 39.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004937/1.184, allocations: 3.305 MB / 0.5174 GB, free: 36.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/1.184, allocations: 53.7 kB / 0.5175 GB, free: 36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002003/1.186, allocations: 4.178 MB / 0.5216 GB, free: 31.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005309/1.187, allocations: 0.7145 MB / 0.5223 GB, free: 31.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/1.187, allocations: 104 kB / 0.5224 GB, free: 30.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000252/1.187, allocations: 0.5129 MB / 0.5229 GB, free: 30.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/1.19, allocations: 2.059 MB / 0.5249 GB, free: 28.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/1.194, allocations: 4.706 MB / 0.5295 GB, free: 22.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003502/1.197, allocations: 3.218 MB / 0.5326 GB, free: 19.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.993e-05/1.197, allocations: 24 kB / 0.5326 GB, free: 19.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.009598/1.207, allocations: 7.05 MB / 0.5395 GB, free: 12.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/1.207, allocations: 44 kB / 0.5396 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/1.207, allocations: 99.94 kB / 0.5397 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007678/1.208, allocations: 439.4 kB / 0.5401 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003168/1.211, allocations: 1.178 MB / 0.5412 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003908/1.215, allocations: 4.071 MB / 0.5452 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00368/1.219, allocations: 0.7159 MB / 0.5459 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004564/1.219, allocations: 288 kB / 0.5462 GB, free: 5.129 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (626): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005601/1.225, allocations: 3.489 MB / 0.5496 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000553/1.225, allocations: 284.3 kB / 0.5499 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005038/1.23, allocations: 3.391 MB / 0.5532 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003846/1.234, allocations: 2.608 MB / 0.5557 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/1.234, allocations: 7.984 kB / 0.5557 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/1.234, allocations: 7.969 kB / 0.5557 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/1.251, allocations: 9.409 MB / 0.5649 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.251, allocations: 4 kB / 0.5649 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/1.253, allocations: 359.4 kB / 0.5653 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007604/1.253, allocations: 317.3 kB / 0.5656 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/1.253, allocations: 43.98 kB / 0.5656 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005018/1.258, allocations: 3.881 MB / 0.5694 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.258, allocations: 0 / 0.5694 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007929/1.266, allocations: 4.808 MB / 0.5741 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/1.268, allocations: 0.6179 MB / 0.5747 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007029/1.269, allocations: 32 kB / 0.5747 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/1.27, allocations: 139.8 kB / 0.5749 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/1.271, allocations: 137.8 kB / 0.575 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.271, allocations: 51.98 kB / 0.575 GB, free: 7.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004902/1.276, allocations: 2.17 MB / 0.5772 GB, free: 5.121 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.11e-07/1.276, allocations: 0 / 0.5772 GB, free: 5.121 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.007516/1.283, allocations: 2.029 MB / 0.5791 GB, free: 3.086 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (183): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006031/1.284, allocations: 196.9 kB / 0.5793 GB, free: 2.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008628/1.293, allocations: 4.783 MB / 0.584 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.293, allocations: 4 kB / 0.584 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002763/1.295, allocations: 1.622 MB / 0.5856 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/1.299, allocations: 0.6493 MB / 0.5862 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03435/1.334, allocations: 16.87 MB / 0.6027 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007817/1.342, allocations: 5.796 MB / 0.6084 GB, free: 5.117 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005405/1.347, allocations: 1.828 MB / 0.6101 GB, free: 3.285 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006859/1.348, allocations: 235.4 kB / 0.6104 GB, free: 3.055 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/1.348, allocations: 0 / 0.6104 GB, free: 3.055 MB / 446.1 MB Notification: Performance of Templates: time 0.2809/1.629, allocations: 39.67 MB / 0.6491 GB, free: 128.4 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)