Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001073/0.001073, allocations: 90.23 kB / 16.65 MB, free: 6.602 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.001389/0.001389, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.466/1.466, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0004706/0.0004706, allocations: 8.422 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08766/0.08814, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01496/0.1031, allocations: 15.66 MB / 344 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009692/0.1129, allocations: 4.182 MB / 348.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0032/0.1161, allocations: 107.7 kB / 348.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.1194, allocations: 1.023 MB / 349.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005846/0.1253, allocations: 1.361 MB / 350.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.1288, allocations: 1.1 MB / 351.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009604/0.1384, allocations: 8.307 MB / 360.1 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2528/0.3913, allocations: 22.17 MB / 382.2 MB, free: 19.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0073/0.3986, allocations: 3.415 MB / 385.6 MB, free: 19.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01036/0.409, allocations: 4.059 MB / 389.7 MB, free: 18.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003921/0.413, allocations: 0.5521 MB / 390.3 MB, free: 18.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006347/0.4194, allocations: 0.8022 MB / 391.1 MB, free: 18.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004874/0.4243, allocations: 1.63 MB / 392.7 MB, free: 17.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01241/0.4367, allocations: 4.199 MB / 396.9 MB, free: 16.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01928/0.456, allocations: 17.4 MB / 414.3 MB, free: 7.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4561, allocations: 2.969 kB / 414.3 MB, free: 7.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4561, allocations: 0 / 414.3 MB, free: 7.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0007409/0.4568, allocations: 0 / 414.3 MB, free: 7.957 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: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02642/0.4833, allocations: 8.762 MB / 423.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4833, allocations: 8.125 kB / 423.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03019/0.5135, allocations: 5.727 MB / 428.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.5257, allocations: 4.839 MB / 433.6 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000816/0.5265, allocations: 0.7093 MB / 434.3 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003553/0.5301, allocations: 0.9238 MB / 435.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03709/0.5672, allocations: 13.62 MB / 448.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002666/0.5675, allocations: 11.66 kB / 448.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003179/0.5707, allocations: 385.9 kB / 449.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006159/0.5713, allocations: 463.9 kB / 449.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03065/0.602, allocations: 12.84 MB / 462.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08529/0.6873, allocations: 47.06 MB / 0.4977 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01588/0.7032, allocations: 17.1 MB / 0.5144 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/0.7063, allocations: 1.913 MB / 0.5162 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/0.7166, allocations: 6.092 MB / 0.5222 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.7166, allocations: 52.56 kB / 0.5222 GB, free: 500 kB / 430.1 MB Notification: Performance of pre-optimization done (n=194): time 4.238e-06/0.7167, allocations: 0 / 0.5222 GB, free: 500 kB / 430.1 MB Notification: Performance of matching and sorting (n=194): time 0.008323/0.725, allocations: 4.435 MB / 0.5266 GB, free: 12.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.7251, allocations: 72.88 kB / 0.5266 GB, free: 11.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0054/0.7305, allocations: 3.32 MB / 0.5299 GB, free: 8.617 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002892/0.7308, allocations: 57.7 kB / 0.5299 GB, free: 8.555 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002721/0.7335, allocations: 4.18 MB / 0.534 GB, free: 4.352 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007803/0.7343, allocations: 0.7201 MB / 0.5347 GB, free: 3.637 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005231/0.7348, allocations: 408.9 kB / 0.5351 GB, free: 3.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.7349, allocations: 301.1 kB / 0.5354 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003191/0.7381, allocations: 2.087 MB / 0.5374 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1837/0.9218, allocations: 4.723 MB / 0.5421 GB, free: 145.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007464/0.9293, allocations: 7.17 MB / 0.5491 GB, free: 141.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002082/0.9296, allocations: 26.69 kB / 0.5491 GB, free: 141.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01323/0.9428, allocations: 7.094 MB / 0.556 GB, free: 138.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.943, allocations: 44.94 kB / 0.5561 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002291/0.9432, allocations: 91.44 kB / 0.5561 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009591/0.9442, allocations: 426.5 kB / 0.5565 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/0.9481, allocations: 1.178 MB / 0.5577 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0047/0.9528, allocations: 4.068 MB / 0.5617 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004499/0.9573, allocations: 0.7188 MB / 0.5624 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009143/0.9582, allocations: 287 kB / 0.5626 GB, free: 135.8 MB / 446.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 (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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007457/0.9657, allocations: 3.488 MB / 0.5661 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/0.9669, allocations: 296.9 kB / 0.5663 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00596/0.9729, allocations: 3.397 MB / 0.5697 GB, free: 132.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00307/0.9759, allocations: 2.621 MB / 0.5722 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.976, allocations: 7.812 kB / 0.5722 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.976, allocations: 9.609 kB / 0.5722 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.989, allocations: 9.433 MB / 0.5814 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.989, allocations: 3.938 kB / 0.5814 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.9903, allocations: 360.5 kB / 0.5818 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006084/0.9909, allocations: 314.5 kB / 0.5821 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.9911, allocations: 43.8 kB / 0.5821 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003543/0.9946, allocations: 3.89 MB / 0.5859 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9946, allocations: 0 / 0.5859 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005295/0.9999, allocations: 4.842 MB / 0.5907 GB, free: 119.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.001, allocations: 0.6147 MB / 0.5913 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/1.001, allocations: 36 kB / 0.5913 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/1.003, allocations: 133.3 kB / 0.5914 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/1.003, allocations: 137.3 kB / 0.5915 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.003, allocations: 55.94 kB / 0.5916 GB, free: 118.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002836/1.006, allocations: 2.192 MB / 0.5937 GB, free: 116.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.006, allocations: 0 / 0.5937 GB, free: 116.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005529/1.011, allocations: 2.037 MB / 0.5957 GB, free: 114.6 MB / 446.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 (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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004775/1.012, allocations: 204.3 kB / 0.5959 GB, free: 114.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007207/1.019, allocations: 4.804 MB / 0.6006 GB, free: 110.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.019, allocations: 3.719 kB / 0.6006 GB, free: 110.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/1.021, allocations: 1.642 MB / 0.6022 GB, free: 108.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/1.024, allocations: 0.6479 MB / 0.6029 GB, free: 107.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/1.047, allocations: 17.66 MB / 0.6201 GB, free: 90.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005064/1.052, allocations: 5.8 MB / 0.6258 GB, free: 84.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004284/1.056, allocations: 1.837 MB / 0.6276 GB, free: 82.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/1.057, allocations: 239.4 kB / 0.6278 GB, free: 82.31 MB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/1.057, allocations: 0 / 0.6278 GB, free: 82.31 MB / 446.1 MB Notification: Performance of Templates: time 0.06521/1.122, allocations: 40.46 MB / 0.6673 GB, free: 41.87 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)