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.001412/0.001412, allocations: 107.3 kB / 16.92 MB, free: 5.664 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.001457/0.001457, allocations: 190.8 kB / 17.85 MB, free: 5.176 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.48/1.48, allocations: 205.1 MB / 223.7 MB, free: 12.36 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.001161/0.001161, allocations: 51.92 kB / 280 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08894, allocations: 46.62 MB / 326.6 MB, free: 4.496 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.0181/0.1071, allocations: 16.87 MB / 343.5 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009088/0.1162, allocations: 4.221 MB / 347.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003276/0.1196, allocations: 115.7 kB / 347.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01666/0.1363, allocations: 7.464 MB / 355.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007184/0.1435, allocations: 1.542 MB / 356.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00449/0.148, allocations: 1.212 MB / 358 MB, free: 4.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01238/0.1604, allocations: 8.491 MB / 366.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2564/0.4168, allocations: 22.66 MB / 389.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009278/0.4262, allocations: 4.954 MB / 394.1 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01067/0.4369, allocations: 5.538 MB / 399.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005518/0.4425, allocations: 1.404 MB / 401.1 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006699/0.4492, allocations: 1.661 MB / 402.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007495/0.4567, allocations: 2.716 MB / 405.5 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01332/0.4701, allocations: 5.382 MB / 410.8 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02635/0.4965, allocations: 18.42 MB / 429.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.4965, allocations: 0 / 429.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4966, allocations: 0 / 429.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006184/0.4972, allocations: 0 / 429.3 MB, free: 9.656 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.03941/0.5366, allocations: 10.79 MB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.5367, allocations: 12.03 kB / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03133/0.568, allocations: 5.697 MB / 445.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.5791, allocations: 4.837 MB / 450.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006088/0.5797, allocations: 0.7133 MB / 451.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004222/0.584, allocations: 0.9213 MB / 452.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03784/0.6218, allocations: 13.59 MB / 465.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002358/0.6221, allocations: 7.906 kB / 465.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002009/0.6241, allocations: 393.9 kB / 466.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004791/0.6246, allocations: 460 kB / 466.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02831/0.6529, allocations: 12.82 MB / 479.5 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0912/0.7441, allocations: 46.93 MB / 0.5141 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01826/0.7625, allocations: 17.09 MB / 0.5308 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003356/0.7659, allocations: 1.866 MB / 0.5326 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.34/1.106, allocations: 5.969 MB / 0.5384 GB, free: 123.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/1.106, allocations: 51.66 kB / 0.5385 GB, free: 123.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=188): time 4.628e-06/1.106, allocations: 0 / 0.5385 GB, free: 123.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.008445/1.114, allocations: 4.313 MB / 0.5427 GB, free: 123.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.115, allocations: 71.81 kB / 0.5427 GB, free: 123.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005546/1.12, allocations: 3.323 MB / 0.546 GB, free: 123 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002978/1.12, allocations: 55.8 kB / 0.546 GB, free: 123 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002082/1.122, allocations: 4.183 MB / 0.5501 GB, free: 120.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007017/1.123, allocations: 0.6966 MB / 0.5508 GB, free: 120.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/1.125, allocations: 1.061 MB / 0.5518 GB, free: 120.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.544e-05/1.125, allocations: 301.1 kB / 0.5521 GB, free: 119.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003051/1.128, allocations: 2.041 MB / 0.5541 GB, free: 119.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003363/1.131, allocations: 4.694 MB / 0.5587 GB, free: 115 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006347/1.137, allocations: 7.1 MB / 0.5656 GB, free: 109.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-05/1.138, allocations: 25.89 kB / 0.5657 GB, free: 109.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.009315/1.147, allocations: 7.009 MB / 0.5725 GB, free: 107.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/1.147, allocations: 42.97 kB / 0.5726 GB, free: 107.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/1.147, allocations: 94.16 kB / 0.5726 GB, free: 107.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007727/1.148, allocations: 431 kB / 0.5731 GB, free: 107.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003196/1.151, allocations: 1.176 MB / 0.5742 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004311/1.155, allocations: 4.373 MB / 0.5785 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004395/1.16, allocations: 0.7216 MB / 0.5792 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007519/1.161, allocations: 296.3 kB / 0.5795 GB, free: 104.2 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 (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.005925/1.167, allocations: 3.485 MB / 0.5829 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006447/1.167, allocations: 291.3 kB / 0.5831 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/1.171, allocations: 3.313 MB / 0.5864 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002749/1.174, allocations: 2.541 MB / 0.5889 GB, free: 98.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.174, allocations: 5.125 kB / 0.5889 GB, free: 98.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/1.174, allocations: 7.875 kB / 0.5889 GB, free: 98.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/1.187, allocations: 9.31 MB / 0.598 GB, free: 90.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/1.187, allocations: 0 / 0.598 GB, free: 90.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.188, allocations: 361.8 kB / 0.5983 GB, free: 89.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005847/1.189, allocations: 313.1 kB / 0.5986 GB, free: 89.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.595e-05/1.189, allocations: 43.98 kB / 0.5987 GB, free: 89.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003511/1.192, allocations: 4.193 MB / 0.6027 GB, free: 85.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.192, allocations: 0 / 0.6027 GB, free: 85.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004961/1.197, allocations: 4.703 MB / 0.6073 GB, free: 80.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.198, allocations: 0.5908 MB / 0.6079 GB, free: 79.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/1.199, allocations: 36 kB / 0.6079 GB, free: 79.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.2, allocations: 127.8 kB / 0.6081 GB, free: 79.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/1.2, allocations: 125.8 kB / 0.6082 GB, free: 79.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.332e-05/1.2, allocations: 51.98 kB / 0.6082 GB, free: 79.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002681/1.203, allocations: 2.198 MB / 0.6104 GB, free: 77.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.203, allocations: 0 / 0.6104 GB, free: 77.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005343/1.208, allocations: 2.033 MB / 0.6124 GB, free: 75.3 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.0005123/1.209, allocations: 209.4 kB / 0.6126 GB, free: 75.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009834/1.219, allocations: 6.337 MB / 0.6188 GB, free: 69.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.219, allocations: 0 / 0.6188 GB, free: 69.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001794/1.221, allocations: 1.597 MB / 0.6203 GB, free: 67.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/1.224, allocations: 0.6965 MB / 0.621 GB, free: 66.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/1.245, allocations: 13.86 MB / 0.6345 GB, free: 52.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006336/1.251, allocations: 5.792 MB / 0.6402 GB, free: 47.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004599/1.256, allocations: 1.832 MB / 0.642 GB, free: 45.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007591/1.257, allocations: 231.4 kB / 0.6422 GB, free: 45.09 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/1.257, allocations: 0 / 0.6422 GB, free: 45.09 MB / 446.1 MB Notification: Performance of Templates: time 0.06713/1.324, allocations: 41.74 MB / 0.683 GB, free: 3.488 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)