Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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/Modelica 3.2.3+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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1317/0.1317, allocations: 12.59 MB / 28.22 MB, free: 0.6953 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 107.4 kB / 31.83 MB, free: 3.855 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4491/0.4491, allocations: 78.51 MB / 419.3 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous 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: 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: OpenIPSL 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: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 150.9 kB / 0.5559 GB, free: 28.59 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1206, allocations: 68.13 MB / 0.6224 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006245/0.1268, allocations: 5.835 MB / 0.6281 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.1301, allocations: 1.713 MB / 0.6298 GB, free: 7.852 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007258/0.1309, allocations: 12 kB / 0.6298 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006259/0.1316, allocations: 210.2 kB / 0.63 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.1335, allocations: 0.7302 MB / 0.6307 GB, free: 6.898 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.1348, allocations: 0.5619 MB / 0.6312 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.1364, allocations: 1.257 MB / 0.6325 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/0.1367, allocations: 279.2 kB / 0.6327 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005206/0.1373, allocations: 0.5212 MB / 0.6332 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006038/0.1379, allocations: 0.6377 MB / 0.6339 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.138, allocations: 95.98 kB / 0.634 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.1384, allocations: 219.9 kB / 0.6342 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.1386, allocations: 238.9 kB / 0.6344 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.139, allocations: 0.5476 MB / 0.6349 GB, free: 2.539 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.1402, allocations: 1.358 MB / 0.6363 GB, free: 1.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1402, allocations: 0 / 0.6363 GB, free: 1.176 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1402, allocations: 0 / 0.6363 GB, free: 1.176 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1403, allocations: 4 kB / 0.6363 GB, free: 1.172 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007129/0.1474, allocations: 2.345 MB / 0.6385 GB, free: 14.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1474, allocations: 15.98 kB / 0.6386 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/0.1524, allocations: 0.7635 MB / 0.6393 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/0.1534, allocations: 0.7088 MB / 0.64 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.1537, allocations: 252.1 kB / 0.6402 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.1538, allocations: 75.92 kB / 0.6403 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.1558, allocations: 0.9559 MB / 0.6412 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1559, allocations: 3.938 kB / 0.6412 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.642e-05/0.156, allocations: 28 kB / 0.6413 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.156, allocations: 16 kB / 0.6413 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.1581, allocations: 0.9799 MB / 0.6422 GB, free: 10.89 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005119/0.1632, allocations: 3.155 MB / 0.6453 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.1653, allocations: 1.313 MB / 0.6466 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.1667, allocations: 0.7126 MB / 0.6473 GB, free: 5.441 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.461e-05/0.1668, allocations: 9 kB / 0.6473 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.1669, allocations: 43.56 kB / 0.6474 GB, free: 5.379 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.234e-06/0.1669, allocations: 0 / 0.6474 GB, free: 5.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02593/0.1928, allocations: 6.477 MB / 0.6537 GB, free: 14.87 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.1929, allocations: 60.41 kB / 0.6537 GB, free: 14.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.1942, allocations: 0.7945 MB / 0.6545 GB, free: 14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.1943, allocations: 45.64 kB / 0.6546 GB, free: 13.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.1947, allocations: 428.4 kB / 0.655 GB, free: 13.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.1951, allocations: 307.7 kB / 0.6553 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000422/0.1955, allocations: 186.9 kB / 0.6554 GB, free: 13.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1956, allocations: 345.9 kB / 0.6558 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.1972, allocations: 0.6624 MB / 0.6564 GB, free: 12.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.1988, allocations: 0.7835 MB / 0.6572 GB, free: 11.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01807/0.2169, allocations: 4.512 MB / 0.6616 GB, free: 6.656 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.2169, allocations: 3.984 kB / 0.6616 GB, free: 6.652 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01362/0.2305, allocations: 4.075 MB / 0.6656 GB, free: 2.562 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.2306, allocations: 8 kB / 0.6656 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.2306, allocations: 0 / 0.6656 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006375/0.2369, allocations: 1.745 MB / 0.6673 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000909/0.2379, allocations: 187.7 kB / 0.6675 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02275/0.2606, allocations: 9.037 MB / 0.6763 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.2621, allocations: 163 kB / 0.6764 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.2622, allocations: 35.98 kB / 0.6765 GB, free: 7.227 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.00053/0.2628, allocations: 229.5 kB / 0.6767 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.2631, allocations: 102.8 kB / 0.6768 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.2765, allocations: 3.813 MB / 0.6805 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.2766, allocations: 11.94 kB / 0.6805 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2766, allocations: 0 / 0.6805 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.2766, allocations: 3.984 kB / 0.6805 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/0.292, allocations: 5.38 MB / 0.6858 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.292, allocations: 4 kB / 0.6858 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/0.2926, allocations: 87.89 kB / 0.6859 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006285/0.2989, allocations: 1.749 MB / 0.6876 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.509e-05/0.299, allocations: 12 kB / 0.6876 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02008/0.3191, allocations: 8.045 MB / 0.6954 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3191, allocations: 0 / 0.6954 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/0.3349, allocations: 4.736 MB / 0.7001 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/0.3354, allocations: 191.6 kB / 0.7003 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.3357, allocations: 16 kB / 0.7003 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.3368, allocations: 87.89 kB / 0.7004 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006739/0.3375, allocations: 208.5 kB / 0.7006 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/0.3376, allocations: 20 kB / 0.7006 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008293/0.3384, allocations: 0.5381 MB / 0.7011 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3384, allocations: 0 / 0.7011 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001579/0.34, allocations: 403.5 kB / 0.7015 GB, free: 13.26 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003237/0.3404, allocations: 123.2 kB / 0.7016 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00672/0.3471, allocations: 2.32 MB / 0.7039 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3471, allocations: 4 kB / 0.7039 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004944/0.3521, allocations: 1.519 MB / 0.7054 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008966/0.353, allocations: 75.34 kB / 0.7054 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.3567, allocations: 1.77 MB / 0.7072 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/0.3574, allocations: 1.033 MB / 0.7082 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003244/0.3577, allocations: 86.3 kB / 0.7082 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.3579, allocations: 59.42 kB / 0.7083 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of SimCode: time 1.443e-06/0.3579, allocations: 0 / 0.7083 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of Templates: time 0.3326/0.6905, allocations: 22.39 MB / 0.7302 GB, free: 82.73 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)