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.0008521/0.0008518, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009099/0.0009099, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004883/0.0004884, allocations: 15.98 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2406, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01493/0.2556, allocations: 14.49 MB / 341 MB, free: 4.973 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.2676, allocations: 3.844 MB / 344.8 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00433/0.272, allocations: 115.6 kB / 344.9 MB, free: 1 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003504/0.2755, allocations: 0.7064 MB / 345.6 MB, free: 296 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006097/0.2816, allocations: 1.275 MB / 346.9 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.2852, allocations: 0.9006 MB / 347.8 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01039/0.2956, allocations: 7.937 MB / 355.8 MB, free: 6.129 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03875/0.3344, allocations: 18.38 MB / 374.1 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006845/0.3413, allocations: 3.399 MB / 377.5 MB, free: 248 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008255/0.3496, allocations: 3.86 MB / 381.4 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002677/0.3523, allocations: 0.5508 MB / 381.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004467/0.3568, allocations: 0.7888 MB / 382.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003097/0.3599, allocations: 1.592 MB / 384.3 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004086/0.364, allocations: 1.798 MB / 386.1 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01744/0.3815, allocations: 15.66 MB / 401.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.3815, allocations: 4 kB / 401.8 MB, free: 7.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3815, allocations: 0 / 401.8 MB, free: 7.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000571/0.3821, allocations: 0 / 401.8 MB, free: 7.91 MB / 334.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.0249/0.407, allocations: 8.842 MB / 410.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4071, allocations: 8.031 kB / 410.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0295/0.4366, allocations: 5.732 MB / 416.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/0.4483, allocations: 4.791 MB / 421.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009191/0.4493, allocations: 0.6986 MB / 421.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003476/0.4527, allocations: 0.9256 MB / 422.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03606/0.4888, allocations: 13.54 MB / 436.3 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004421/0.4893, allocations: 8 kB / 436.3 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003434/0.4928, allocations: 392 kB / 436.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005426/0.4933, allocations: 459.9 kB / 437.2 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03034/0.5237, allocations: 12.77 MB / 449.9 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4362/0.9599, allocations: 47.03 MB / 497 MB, free: 70.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.9712, allocations: 17.08 MB / 0.502 GB, free: 51.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/0.9736, allocations: 1.905 MB / 0.5039 GB, free: 49.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009511/0.9832, allocations: 6.086 MB / 0.5098 GB, free: 43.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.9832, allocations: 52.56 kB / 0.5098 GB, free: 43.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=194): time 4.659e-06/0.9832, allocations: 0 / 0.5098 GB, free: 43.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=194): time 0.007883/0.9911, allocations: 4.385 MB / 0.5141 GB, free: 39.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.9912, allocations: 73.34 kB / 0.5142 GB, free: 39.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005252/0.9965, allocations: 3.313 MB / 0.5174 GB, free: 35.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.9966, allocations: 53.7 kB / 0.5175 GB, free: 35.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002002/0.9987, allocations: 4.178 MB / 0.5216 GB, free: 31.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000553/0.9992, allocations: 0.7083 MB / 0.5223 GB, free: 30.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.9996, allocations: 100 kB / 0.5224 GB, free: 30.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000273/0.9998, allocations: 0.5168 MB / 0.5229 GB, free: 30.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/1.003, allocations: 2.055 MB / 0.5249 GB, free: 28.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003868/1.006, allocations: 4.714 MB / 0.5295 GB, free: 22.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/1.011, allocations: 3.214 MB / 0.5326 GB, free: 18.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.411e-05/1.011, allocations: 24 kB / 0.5326 GB, free: 18.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01081/1.021, allocations: 7.054 MB / 0.5395 GB, free: 11.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.647e-05/1.022, allocations: 44 kB / 0.5396 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/1.022, allocations: 92 kB / 0.5397 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009043/1.023, allocations: 439.5 kB / 0.5401 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/1.026, allocations: 1.178 MB / 0.5412 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004166/1.03, allocations: 4.075 MB / 0.5452 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003838/1.034, allocations: 0.7198 MB / 0.5459 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006655/1.035, allocations: 284 kB / 0.5462 GB, free: 4.84 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005292/1.04, allocations: 3.482 MB / 0.5496 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006114/1.041, allocations: 292.3 kB / 0.5499 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005805/1.047, allocations: 3.391 MB / 0.5532 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00403/1.051, allocations: 2.608 MB / 0.5557 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/1.051, allocations: 4 kB / 0.5557 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/1.051, allocations: 7.969 kB / 0.5557 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/1.07, allocations: 9.409 MB / 0.5649 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.07, allocations: 0 / 0.5649 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/1.071, allocations: 359.4 kB / 0.5653 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007585/1.072, allocations: 317.3 kB / 0.5656 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/1.072, allocations: 39.98 kB / 0.5656 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004833/1.077, allocations: 3.884 MB / 0.5694 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.077, allocations: 0 / 0.5694 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007325/1.084, allocations: 4.815 MB / 0.5741 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/1.086, allocations: 0.6219 MB / 0.5747 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006105/1.086, allocations: 32 kB / 0.5747 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/1.088, allocations: 139.8 kB / 0.5749 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/1.088, allocations: 133.8 kB / 0.575 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.088, allocations: 51.98 kB / 0.575 GB, free: 7.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004046/1.092, allocations: 2.174 MB / 0.5772 GB, free: 4.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 3e-07/1.092, allocations: 0 / 0.5772 GB, free: 4.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006498/1.099, allocations: 2.033 MB / 0.5791 GB, free: 2.789 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000721/1.1, allocations: 193.2 kB / 0.5793 GB, free: 2.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008718/1.108, allocations: 4.785 MB / 0.584 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.108, allocations: 0 / 0.584 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002923/1.111, allocations: 1.622 MB / 0.5856 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/1.116, allocations: 0.6577 MB / 0.5862 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/1.148, allocations: 16.86 MB / 0.6027 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01056/1.159, allocations: 5.796 MB / 0.6084 GB, free: 4.828 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005365/1.164, allocations: 1.832 MB / 0.6101 GB, free: 2.992 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008373/1.165, allocations: 235.4 kB / 0.6104 GB, free: 2.762 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/1.165, allocations: 0 / 0.6104 GB, free: 2.762 MB / 446.1 MB Notification: Performance of Templates: time 0.2517/1.417, allocations: 39.68 MB / 0.6491 GB, free: 125.9 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)