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.001126/0.001126, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001064/0.001064, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.356/1.356, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001345/0.001345, allocations: 48.2 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1027, allocations: 46.62 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01691/0.1197, allocations: 16.56 MB / 342.5 MB, free: 4.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008741/0.1285, allocations: 4.205 MB / 346.7 MB, free: 20 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003071/0.1316, allocations: 107.7 kB / 346.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01491/0.1465, allocations: 7.083 MB / 353.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006934/0.1535, allocations: 1.372 MB / 355.3 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.1575, allocations: 1.127 MB / 356.4 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009964/0.1675, allocations: 8.319 MB / 364.7 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1974/0.3649, allocations: 18.96 MB / 383.7 MB, free: 17.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008036/0.373, allocations: 4.404 MB / 388.1 MB, free: 17.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01043/0.3834, allocations: 5.356 MB / 393.4 MB, free: 16.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003756/0.3872, allocations: 1.036 MB / 394.5 MB, free: 16.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004385/0.3916, allocations: 1.291 MB / 395.8 MB, free: 16.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002593/0.3942, allocations: 2.313 MB / 398.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006394/0.4007, allocations: 4.988 MB / 403.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.4134, allocations: 18.17 MB / 421.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4134, allocations: 4 kB / 421.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4134, allocations: 0 / 421.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004979/0.4139, allocations: 0 / 421.2 MB, free: 1.785 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.03047/0.4444, allocations: 10.8 MB / 432.1 MB, free: 7.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4445, allocations: 12.03 kB / 432.1 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02966/0.4742, allocations: 5.704 MB / 437.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.4843, allocations: 4.838 MB / 442.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007422/0.485, allocations: 0.7063 MB / 443.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003307/0.4884, allocations: 0.9202 MB / 444.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03394/0.5223, allocations: 13.62 MB / 457.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000237/0.5226, allocations: 7.984 kB / 457.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001765/0.5244, allocations: 391.1 kB / 458.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004127/0.5248, allocations: 455.9 kB / 458.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02568/0.5505, allocations: 12.84 MB / 471.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0722/0.6227, allocations: 46.93 MB / 0.5063 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01502/0.6378, allocations: 17.12 MB / 0.523 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.6406, allocations: 1.905 MB / 0.5249 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/0.651, allocations: 6.09 MB / 0.5308 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.651, allocations: 60.56 kB / 0.5309 GB, free: 5.328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 3.607e-06/0.6511, allocations: 0 / 0.5309 GB, free: 5.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.008296/0.6594, allocations: 4.422 MB / 0.5352 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.6594, allocations: 69.41 kB / 0.5353 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1836/0.843, allocations: 3.319 MB / 0.5385 GB, free: 149.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003395/0.8434, allocations: 56.02 kB / 0.5386 GB, free: 149.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002741/0.8462, allocations: 4.179 MB / 0.5426 GB, free: 147.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008413/0.847, allocations: 0.7089 MB / 0.5433 GB, free: 146.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/0.8486, allocations: 1.065 MB / 0.5444 GB, free: 146.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.27e-05/0.8487, allocations: 301.9 kB / 0.5447 GB, free: 145.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003148/0.8518, allocations: 2.083 MB / 0.5467 GB, free: 145.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003826/0.8556, allocations: 4.73 MB / 0.5513 GB, free: 140.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006652/0.8623, allocations: 7.172 MB / 0.5583 GB, free: 135.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/0.8625, allocations: 24.11 kB / 0.5583 GB, free: 135.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01026/0.8727, allocations: 7.099 MB / 0.5653 GB, free: 132.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.928e-05/0.8728, allocations: 43 kB / 0.5653 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001472/0.873, allocations: 91.66 kB / 0.5654 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000882/0.8739, allocations: 428.3 kB / 0.5658 GB, free: 132.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003553/0.8774, allocations: 1.177 MB / 0.567 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003929/0.8814, allocations: 4.059 MB / 0.5709 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003582/0.885, allocations: 0.7171 MB / 0.5716 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/0.8854, allocations: 286.5 kB / 0.5719 GB, free: 129.3 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.004259/0.8896, allocations: 3.493 MB / 0.5753 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005239/0.8902, allocations: 296.7 kB / 0.5756 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004397/0.8946, allocations: 3.398 MB / 0.5789 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003159/0.8978, allocations: 2.624 MB / 0.5815 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.8978, allocations: 3.5 kB / 0.5815 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.8978, allocations: 7.594 kB / 0.5815 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.9113, allocations: 9.434 MB / 0.5907 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.9114, allocations: 6.516 kB / 0.5907 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.9127, allocations: 360 kB / 0.5911 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006167/0.9133, allocations: 313.6 kB / 0.5914 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.9134, allocations: 43.84 kB / 0.5914 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003472/0.9169, allocations: 3.871 MB / 0.5952 GB, free: 113.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9169, allocations: 4 kB / 0.5952 GB, free: 113.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/0.9221, allocations: 4.842 MB / 0.5999 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00097/0.9231, allocations: 0.5906 MB / 0.6005 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/0.9235, allocations: 39.98 kB / 0.6005 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.9246, allocations: 131.8 kB / 0.6006 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.9248, allocations: 121.8 kB / 0.6008 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.9249, allocations: 67.98 kB / 0.6008 GB, free: 108.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002526/0.9274, allocations: 2.19 MB / 0.603 GB, free: 106.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9274, allocations: 4 kB / 0.603 GB, free: 106.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005199/0.9326, allocations: 2.03 MB / 0.605 GB, free: 104 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.0004741/0.9331, allocations: 196.2 kB / 0.6051 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006351/0.9395, allocations: 4.81 MB / 0.6098 GB, free: 99.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.9395, allocations: 0 / 0.6098 GB, free: 99.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.9413, allocations: 1.641 MB / 0.6114 GB, free: 97.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/0.9447, allocations: 0.6373 MB / 0.6121 GB, free: 96.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0223/0.967, allocations: 17.64 MB / 0.6293 GB, free: 79.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00419/0.9712, allocations: 5.796 MB / 0.6349 GB, free: 73.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004153/0.9754, allocations: 1.833 MB / 0.6367 GB, free: 71.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000529/0.9759, allocations: 239.4 kB / 0.637 GB, free: 71.21 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.9759, allocations: 0 / 0.637 GB, free: 71.21 MB / 446.1 MB Notification: Performance of Templates: time 0.05922/1.035, allocations: 40.92 MB / 0.6769 GB, free: 30.3 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)