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.007086/0.007086, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.002016/0.002016, allocations: 191.6 kB / 16.67 MB, free: 5.973 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.415/1.415, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.001261/0.001261, allocations: 50.31 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1085, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01825/0.1268, allocations: 16.85 MB / 390 MB, free: 380 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00964/0.1365, allocations: 4.244 MB / 394.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003543/0.1401, allocations: 115.7 kB / 394.4 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01698/0.1571, allocations: 7.491 MB / 401.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008056/0.1652, allocations: 1.542 MB / 403.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003973/0.1692, allocations: 1.208 MB / 404.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01119/0.1804, allocations: 8.573 MB / 413.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03279/0.2133, allocations: 22.57 MB / 435.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007057/0.2204, allocations: 4.964 MB / 440.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009753/0.2302, allocations: 5.532 MB / 446.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004147/0.2343, allocations: 1.402 MB / 447.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00526/0.2396, allocations: 1.652 MB / 449.3 MB, free: 4.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003429/0.2431, allocations: 2.716 MB / 452 MB, free: 2.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2337/0.4768, allocations: 5.372 MB / 457.4 MB, free: 31.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02041/0.4973, allocations: 18.55 MB / 476 MB, free: 28.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4973, allocations: 1.031 kB / 476 MB, free: 28.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4974, allocations: 0 / 476 MB, free: 28.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005223/0.4979, allocations: 0 / 476 MB, free: 28.3 MB / 382.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.03563/0.5335, allocations: 10.78 MB / 486.7 MB, free: 21.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5336, allocations: 10.44 kB / 486.8 MB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02963/0.5632, allocations: 5.704 MB / 492.5 MB, free: 19.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.5741, allocations: 4.844 MB / 497.3 MB, free: 16.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004439/0.5746, allocations: 0.7072 MB / 498 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00409/0.5787, allocations: 0.919 MB / 498.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03316/0.6119, allocations: 13.59 MB / 0.5005 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002089/0.6121, allocations: 11.91 kB / 0.5005 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001143/0.6133, allocations: 397.8 kB / 0.5009 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002904/0.6136, allocations: 460 kB / 0.5013 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02917/0.6428, allocations: 12.82 MB / 0.5139 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09344/0.7362, allocations: 46.32 MB / 0.5591 GB, free: 7.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01632/0.7526, allocations: 17.1 MB / 0.5758 GB, free: 3.812 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00291/0.7556, allocations: 1.867 MB / 0.5776 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.7669, allocations: 5.958 MB / 0.5834 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.7669, allocations: 54.67 kB / 0.5835 GB, free: 11.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 6.182e-06/0.767, allocations: 3.984 kB / 0.5835 GB, free: 11.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.008412/0.7754, allocations: 4.314 MB / 0.5877 GB, free: 7.574 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.7754, allocations: 69.41 kB / 0.5878 GB, free: 7.496 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00618/0.7816, allocations: 3.328 MB / 0.591 GB, free: 4.148 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.7818, allocations: 53.7 kB / 0.5911 GB, free: 4.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00284/0.7846, allocations: 4.184 MB / 0.5952 GB, free: 15.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006922/0.7853, allocations: 0.6947 MB / 0.5958 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/0.7871, allocations: 1.062 MB / 0.5969 GB, free: 14.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7872, allocations: 305.1 kB / 0.5972 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/0.7902, allocations: 2.04 MB / 0.5992 GB, free: 11.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004348/0.7945, allocations: 4.69 MB / 0.6037 GB, free: 5.828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007737/0.8023, allocations: 7.098 MB / 0.6107 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.655e-05/0.8023, allocations: 31.94 kB / 0.6107 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01186/0.8142, allocations: 7.007 MB / 0.6175 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.43e-05/0.8143, allocations: 44 kB / 0.6176 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001689/0.8145, allocations: 92 kB / 0.6177 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.8155, allocations: 434.9 kB / 0.6181 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/0.8191, allocations: 1.179 MB / 0.6192 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006154/0.8252, allocations: 4.368 MB / 0.6235 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004801/0.83, allocations: 0.7198 MB / 0.6242 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000617/0.8307, allocations: 288 kB / 0.6245 GB, free: 228 kB / 0.4981 GB 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.007473/0.8382, allocations: 3.491 MB / 0.6279 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008329/0.839, allocations: 284.4 kB / 0.6282 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006135/0.8451, allocations: 3.313 MB / 0.6314 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004075/0.8492, allocations: 2.543 MB / 0.6339 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.8493, allocations: 8 kB / 0.6339 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.8493, allocations: 11.97 kB / 0.6339 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2364/1.086, allocations: 9.295 MB / 0.643 GB, free: 184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.086, allocations: 3.062 kB / 0.643 GB, free: 184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/1.087, allocations: 355.6 kB / 0.6433 GB, free: 184 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008404/1.088, allocations: 312.3 kB / 0.6436 GB, free: 184 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/1.088, allocations: 41.31 kB / 0.6437 GB, free: 184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/1.093, allocations: 4.195 MB / 0.6477 GB, free: 182.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.093, allocations: 3.938 kB / 0.6478 GB, free: 182.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005624/1.098, allocations: 4.702 MB / 0.6523 GB, free: 182 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.099, allocations: 0.5836 MB / 0.6529 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002987/1.1, allocations: 36.58 kB / 0.6529 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/1.101, allocations: 135.6 kB / 0.6531 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/1.101, allocations: 125.4 kB / 0.6532 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.101, allocations: 61.86 kB / 0.6533 GB, free: 181.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002667/1.104, allocations: 2.196 MB / 0.6554 GB, free: 180.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/1.104, allocations: 0 / 0.6554 GB, free: 180.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004944/1.109, allocations: 2.027 MB / 0.6574 GB, free: 180.2 MB / 0.5137 GB 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.0004009/1.109, allocations: 203 kB / 0.6576 GB, free: 180 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005603/1.115, allocations: 4.723 MB / 0.6622 GB, free: 178.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.115, allocations: 0 / 0.6622 GB, free: 178.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/1.117, allocations: 1.592 MB / 0.6637 GB, free: 177.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/1.119, allocations: 0.6862 MB / 0.6644 GB, free: 177.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/1.139, allocations: 13.69 MB / 0.6778 GB, free: 168 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004583/1.144, allocations: 5.806 MB / 0.6834 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003514/1.147, allocations: 1.817 MB / 0.6852 GB, free: 162.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/1.148, allocations: 239 kB / 0.6854 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.202e-06/1.148, allocations: 0 / 0.6854 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.06031/1.208, allocations: 39.59 MB / 0.7241 GB, free: 124 MB / 0.5137 GB 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)