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.001198/0.001198, allocations: 108 kB / 15.61 MB, free: 152 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.001241/0.001241, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.002035/0.002035, allocations: 52.39 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2336, allocations: 46.64 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01661/0.2502, allocations: 16.84 MB / 342.2 MB, free: 3.016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00922/0.2595, allocations: 4.24 MB / 346.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/0.2623, allocations: 115.7 kB / 346.5 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01542/0.2778, allocations: 7.46 MB / 354 MB, free: 7.152 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00626/0.284, allocations: 1.538 MB / 355.5 MB, free: 5.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.2879, allocations: 1.208 MB / 356.7 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01032/0.2982, allocations: 8.499 MB / 365.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03277/0.331, allocations: 22.68 MB / 387.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006423/0.3375, allocations: 4.949 MB / 392.9 MB, free: 16 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007878/0.3454, allocations: 5.532 MB / 398.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003237/0.3487, allocations: 1.406 MB / 399.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00499/0.3537, allocations: 1.66 MB / 401.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.3575, allocations: 2.716 MB / 404.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007763/0.3653, allocations: 5.382 MB / 409.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01843/0.3838, allocations: 18.41 MB / 428 MB, free: 12.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.3838, allocations: 0 / 428 MB, free: 12.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3838, allocations: 4 kB / 428 MB, free: 12.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005246/0.3844, allocations: 0 / 428 MB, free: 12.8 MB / 366.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.03188/0.4163, allocations: 10.79 MB / 438.8 MB, free: 1.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4163, allocations: 8.031 kB / 438.8 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03233/0.4487, allocations: 5.702 MB / 444.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.4602, allocations: 4.841 MB / 449.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008631/0.4611, allocations: 0.7065 MB / 450 MB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004893/0.466, allocations: 0.9179 MB / 450.9 MB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3423/0.8084, allocations: 13.6 MB / 464.5 MB, free: 95.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004212/0.8088, allocations: 9.141 kB / 464.5 MB, free: 95.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003127/0.812, allocations: 383 kB / 464.9 MB, free: 95.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003482/0.8123, allocations: 460.3 kB / 465.4 MB, free: 95.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02453/0.8369, allocations: 12.82 MB / 478.2 MB, free: 89.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06743/0.9043, allocations: 46.92 MB / 0.5128 GB, free: 42.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/0.9162, allocations: 17.08 MB / 0.5295 GB, free: 22.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002357/0.9185, allocations: 1.866 MB / 0.5313 GB, free: 20.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009211/0.9278, allocations: 5.973 MB / 0.5371 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.9279, allocations: 48.56 kB / 0.5372 GB, free: 14.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=188): time 4.128e-06/0.9279, allocations: 4 kB / 0.5372 GB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=188): time 0.00699/0.9349, allocations: 4.308 MB / 0.5414 GB, free: 10.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.9349, allocations: 73.41 kB / 0.5415 GB, free: 10.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004784/0.9397, allocations: 3.32 MB / 0.5447 GB, free: 7.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.9399, allocations: 57.7 kB / 0.5448 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001711/0.9417, allocations: 4.184 MB / 0.5488 GB, free: 2.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005871/0.9422, allocations: 0.69 MB / 0.5495 GB, free: 2.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001883/0.9441, allocations: 1.063 MB / 0.5506 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.9442, allocations: 301.1 kB / 0.5508 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/0.9474, allocations: 2.048 MB / 0.5528 GB, free: 14.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005313/0.9527, allocations: 4.686 MB / 0.5574 GB, free: 8.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009232/0.962, allocations: 7.093 MB / 0.5643 GB, free: 224 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.982e-05/0.9621, allocations: 32 kB / 0.5644 GB, free: 192 kB / 398.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01308/0.9752, allocations: 7.007 MB / 0.5712 GB, free: 9.164 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.9754, allocations: 51.94 kB / 0.5713 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/0.9755, allocations: 88 kB / 0.5714 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.9766, allocations: 435.5 kB / 0.5718 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003976/0.9806, allocations: 1.181 MB / 0.5729 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005472/0.9861, allocations: 4.383 MB / 0.5772 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004417/0.9905, allocations: 0.7121 MB / 0.5779 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.9916, allocations: 288 kB / 0.5782 GB, free: 1.895 MB / 414.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 (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.006572/0.9982, allocations: 3.485 MB / 0.5816 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008743/0.9991, allocations: 288.3 kB / 0.5819 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006118/1.005, allocations: 3.317 MB / 0.5851 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003833/1.009, allocations: 2.542 MB / 0.5876 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/1.009, allocations: 8 kB / 0.5876 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/1.009, allocations: 11.95 kB / 0.5876 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/1.028, allocations: 9.305 MB / 0.5967 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.028, allocations: 0 / 0.5967 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/1.03, allocations: 363.6 kB / 0.597 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007696/1.031, allocations: 320.9 kB / 0.5973 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001712/1.031, allocations: 36 kB / 0.5974 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005059/1.036, allocations: 4.193 MB / 0.6015 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.036, allocations: 0 / 0.6015 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007195/1.043, allocations: 4.708 MB / 0.6061 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.044, allocations: 0.5869 MB / 0.6066 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005989/1.045, allocations: 32 kB / 0.6067 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.046, allocations: 135.8 kB / 0.6068 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/1.047, allocations: 125.9 kB / 0.6069 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.047, allocations: 56 kB / 0.607 GB, free: 4.078 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003819/1.051, allocations: 2.194 MB / 0.6091 GB, free: 1.883 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.051, allocations: 0 / 0.6091 GB, free: 1.883 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.1825/1.233, allocations: 2.032 MB / 0.6111 GB, free: 146.9 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008806/1.234, allocations: 200.7 kB / 0.6113 GB, free: 146.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01292/1.247, allocations: 6.341 MB / 0.6175 GB, free: 146.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/1.247, allocations: 0 / 0.6175 GB, free: 146.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002068/1.249, allocations: 1.596 MB / 0.619 GB, free: 145.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/1.253, allocations: 0.6862 MB / 0.6197 GB, free: 145.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/1.274, allocations: 13.87 MB / 0.6333 GB, free: 139.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004465/1.279, allocations: 5.793 MB / 0.6389 GB, free: 137.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003893/1.283, allocations: 1.827 MB / 0.6407 GB, free: 136.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/1.283, allocations: 240.2 kB / 0.6409 GB, free: 136.4 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/1.283, allocations: 4 kB / 0.6409 GB, free: 136.4 MB / 446.1 MB Notification: Performance of Templates: time 0.06756/1.351, allocations: 41.72 MB / 0.6817 GB, free: 96.96 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)