Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00117/0.00117, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001587/0.001587, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.443/1.443, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001276/0.001276, allocations: 52.39 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.204, allocations: 46.63 MB / 324.9 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01579/0.2199, allocations: 16.56 MB / 341.4 MB, free: 3.496 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.2299, allocations: 4.17 MB / 345.6 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003076/0.2331, allocations: 115.6 kB / 345.7 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01482/0.2479, allocations: 7.083 MB / 352.8 MB, free: 8.086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.2539, allocations: 1.361 MB / 354.1 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.2575, allocations: 1.103 MB / 355.2 MB, free: 5.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009296/0.2668, allocations: 8.499 MB / 363.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03894/0.3057, allocations: 26.12 MB / 389.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007978/0.3138, allocations: 5.026 MB / 394.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009022/0.3228, allocations: 5.568 MB / 400.5 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004156/0.327, allocations: 1.402 MB / 401.9 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005944/0.333, allocations: 1.664 MB / 403.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004986/0.338, allocations: 2.712 MB / 406.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01061/0.3486, allocations: 5.389 MB / 411.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02247/0.3711, allocations: 18.42 MB / 430.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3712, allocations: 0 / 430.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3712, allocations: 0 / 430.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005042/0.3717, allocations: 0 / 430.1 MB, free: 10.49 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.03803/0.4097, allocations: 10.81 MB / 440.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.4098, allocations: 8.031 kB / 440.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03079/0.4406, allocations: 5.71 MB / 446.6 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.4528, allocations: 4.841 MB / 451.4 MB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000899/0.4538, allocations: 0.7025 MB / 452.1 MB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004908/0.4587, allocations: 0.9218 MB / 453 MB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3597/0.8184, allocations: 13.62 MB / 466.7 MB, free: 96.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002602/0.8187, allocations: 3.969 kB / 466.7 MB, free: 96.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001808/0.8205, allocations: 390.7 kB / 467 MB, free: 96.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003396/0.8209, allocations: 464.7 kB / 467.5 MB, free: 95.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02405/0.8449, allocations: 12.84 MB / 480.3 MB, free: 87.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0732/0.9182, allocations: 46.93 MB / 0.5149 GB, free: 39.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.012/0.9302, allocations: 17.12 MB / 0.5316 GB, free: 20.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002776/0.9331, allocations: 1.905 MB / 0.5335 GB, free: 18.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.9434, allocations: 6.09 MB / 0.5394 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.9435, allocations: 56.5 kB / 0.5395 GB, free: 12.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=194): time 4.328e-06/0.9435, allocations: 0 / 0.5395 GB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=194): time 0.006805/0.9503, allocations: 4.417 MB / 0.5438 GB, free: 7.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.9504, allocations: 73.39 kB / 0.5439 GB, free: 7.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006206/0.9566, allocations: 3.324 MB / 0.5471 GB, free: 4.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003354/0.957, allocations: 53.7 kB / 0.5472 GB, free: 4.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002079/0.9591, allocations: 4.176 MB / 0.5513 GB, free: 216 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000939/0.96, allocations: 0.7131 MB / 0.552 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002346/0.9624, allocations: 1.067 MB / 0.553 GB, free: 14.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.9625, allocations: 301.1 kB / 0.5533 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003368/0.9659, allocations: 2.083 MB / 0.5553 GB, free: 12.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005162/0.9711, allocations: 4.73 MB / 0.5599 GB, free: 5.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008692/0.9798, allocations: 7.175 MB / 0.5669 GB, free: 13.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-05/0.9799, allocations: 28 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.0129/0.9928, allocations: 7.093 MB / 0.5739 GB, free: 6.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.993, allocations: 44 kB / 0.5739 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001767/0.9931, allocations: 92 kB / 0.574 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009877/0.9941, allocations: 427.4 kB / 0.5744 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/0.998, allocations: 1.181 MB / 0.5756 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005204/1.003, allocations: 4.375 MB / 0.5799 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/1.007, allocations: 0.7276 MB / 0.5806 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008356/1.008, allocations: 288 kB / 0.5808 GB, free: 15.12 MB / 430.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.006271/1.014, allocations: 3.485 MB / 0.5842 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008522/1.015, allocations: 288.4 kB / 0.5845 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006006/1.021, allocations: 3.403 MB / 0.5878 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003948/1.025, allocations: 2.624 MB / 0.5904 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.025, allocations: 0 / 0.5904 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/1.025, allocations: 15.97 kB / 0.5904 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/1.047, allocations: 9.426 MB / 0.5996 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/1.047, allocations: 0 / 0.5996 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.048, allocations: 359.5 kB / 0.6 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008098/1.049, allocations: 321 kB / 0.6003 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002942/1.049, allocations: 43.92 kB / 0.6003 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005285/1.055, allocations: 4.185 MB / 0.6044 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.055, allocations: 4 kB / 0.6044 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007599/1.062, allocations: 4.845 MB / 0.6091 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/1.064, allocations: 0.5945 MB / 0.6097 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007237/1.065, allocations: 39.94 kB / 0.6098 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/1.066, allocations: 131.8 kB / 0.6099 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/1.067, allocations: 125.8 kB / 0.61 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.067, allocations: 56 kB / 0.6101 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.2092/1.276, allocations: 2.194 MB / 0.6122 GB, free: 146.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.5e-07/1.276, allocations: 0 / 0.6122 GB, free: 146.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006799/1.283, allocations: 2.032 MB / 0.6142 GB, free: 146.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.0006355/1.283, allocations: 202.3 kB / 0.6144 GB, free: 146.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01168/1.295, allocations: 6.521 MB / 0.6207 GB, free: 145.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/1.295, allocations: 0 / 0.6207 GB, free: 145.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002042/1.297, allocations: 1.639 MB / 0.6223 GB, free: 144.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/1.3, allocations: 0.6864 MB / 0.623 GB, free: 144.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02836/1.329, allocations: 17.64 MB / 0.6402 GB, free: 134.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008158/1.337, allocations: 5.803 MB / 0.6459 GB, free: 131.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004829/1.342, allocations: 1.833 MB / 0.6477 GB, free: 130 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008813/1.343, allocations: 238.9 kB / 0.6479 GB, free: 129.8 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/1.343, allocations: 0 / 0.6479 GB, free: 129.8 MB / 446.1 MB Notification: Performance of Templates: time 0.0715/1.414, allocations: 42.31 MB / 0.6893 GB, free: 89.41 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)