Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 109.7 kB / 16.46 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 225.6 MB / 242.8 MB, free: 3.938 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 183.1 kB / 295.8 MB, free: 4.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3607/0.3607, allocations: 79.73 MB / 428.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 83.88 kB / 0.5711 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3591, allocations: 72.08 MB / 0.6415 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006997/0.3661, allocations: 5.818 MB / 0.6471 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003798/0.3699, allocations: 1.739 MB / 0.6488 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008331/0.3708, allocations: 15.94 kB / 0.6489 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006484/0.3714, allocations: 202.3 kB / 0.6491 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.3736, allocations: 0.7349 MB / 0.6498 GB, free: 6.176 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001404/0.375, allocations: 0.5629 MB / 0.6503 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.3766, allocations: 1.257 MB / 0.6515 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.377, allocations: 191.1 kB / 0.6517 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000668/0.3776, allocations: 0.5251 MB / 0.6522 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007472/0.3784, allocations: 0.6455 MB / 0.6529 GB, free: 2.984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.3785, allocations: 88 kB / 0.653 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.379, allocations: 231.8 kB / 0.6532 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.3792, allocations: 239 kB / 0.6534 GB, free: 2.438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004975/0.3797, allocations: 0.5437 MB / 0.6539 GB, free: 1.891 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.3813, allocations: 1.362 MB / 0.6553 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3813, allocations: 0 / 0.6553 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3813, allocations: 0 / 0.6553 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.3814, allocations: 3.938 kB / 0.6553 GB, free: 0.5273 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.008011/0.3894, allocations: 2.391 MB / 0.6576 GB, free: 14.08 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.3894, allocations: 8.031 kB / 0.6576 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005002/0.3944, allocations: 0.768 MB / 0.6584 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.3959, allocations: 0.7135 MB / 0.6591 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/0.3963, allocations: 252.2 kB / 0.6593 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.3964, allocations: 72 kB / 0.6594 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.3986, allocations: 0.9598 MB / 0.6603 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3986, allocations: 0 / 0.6603 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/0.3987, allocations: 28 kB / 0.6603 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.3987, allocations: 16 kB / 0.6603 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.4009, allocations: 0.9798 MB / 0.6613 GB, free: 10.2 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.005969/0.4069, allocations: 3.171 MB / 0.6644 GB, free: 6.883 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.4091, allocations: 1.236 MB / 0.6656 GB, free: 5.523 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.4105, allocations: 0.6251 MB / 0.6662 GB, free: 4.898 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.785e-05/0.4106, allocations: 9 kB / 0.6662 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.4106, allocations: 43.56 kB / 0.6663 GB, free: 4.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.574e-06/0.4106, allocations: 0 / 0.6663 GB, free: 4.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02662/0.4373, allocations: 6.45 MB / 0.6726 GB, free: 14.35 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.4373, allocations: 64.34 kB / 0.6726 GB, free: 14.28 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.4385, allocations: 0.7907 MB / 0.6734 GB, free: 13.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002069/0.4387, allocations: 37.64 kB / 0.6734 GB, free: 13.44 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/0.4391, allocations: 453 kB / 0.6739 GB, free: 12.99 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000411/0.4395, allocations: 309.3 kB / 0.6742 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003922/0.4399, allocations: 186.9 kB / 0.6743 GB, free: 12.49 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.4401, allocations: 353.9 kB / 0.6747 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.4417, allocations: 0.6584 MB / 0.6753 GB, free: 11.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.4434, allocations: 0.7834 MB / 0.6761 GB, free: 10.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01854/0.4619, allocations: 4.516 MB / 0.6805 GB, free: 6.117 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.4619, allocations: 4 kB / 0.6805 GB, free: 6.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01422/0.4761, allocations: 4.051 MB / 0.6845 GB, free: 2.047 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.4762, allocations: 4 kB / 0.6845 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.4762, allocations: 4 kB / 0.6845 GB, free: 2.039 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006487/0.4827, allocations: 1.729 MB / 0.6862 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.4837, allocations: 187.8 kB / 0.6863 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02279/0.5065, allocations: 9.055 MB / 0.6952 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.5079, allocations: 155.2 kB / 0.6953 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.508, allocations: 39.98 kB / 0.6954 GB, free: 6.719 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.0004883/0.5085, allocations: 238.5 kB / 0.6956 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.5087, allocations: 107.3 kB / 0.6957 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.5222, allocations: 3.778 MB / 0.6994 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.5222, allocations: 11.94 kB / 0.6994 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.5222, allocations: 0 / 0.6994 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.7e-05/0.5223, allocations: 3.984 kB / 0.6994 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/0.5381, allocations: 5.341 MB / 0.7046 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/0.5381, allocations: 3.984 kB / 0.7046 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/0.5387, allocations: 95.83 kB / 0.7047 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006614/0.5453, allocations: 1.737 MB / 0.7064 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002642/0.5456, allocations: 19.98 kB / 0.7064 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02134/0.5669, allocations: 8.065 MB / 0.7143 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5669, allocations: 3.938 kB / 0.7143 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01637/0.5833, allocations: 4.709 MB / 0.7189 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/0.5837, allocations: 192.2 kB / 0.7191 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003221/0.584, allocations: 19.94 kB / 0.7191 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.5852, allocations: 91.89 kB / 0.7192 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007326/0.5859, allocations: 204.7 kB / 0.7194 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.586, allocations: 23.94 kB / 0.7194 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008134/0.5869, allocations: 0.5341 MB / 0.7199 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.5869, allocations: 0 / 0.7199 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001465/0.5883, allocations: 407.7 kB / 0.7203 GB, free: 12.81 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.000314/0.5886, allocations: 123.1 kB / 0.7204 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006932/0.5956, allocations: 2.203 MB / 0.7226 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5956, allocations: 0 / 0.7226 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004995/0.6006, allocations: 1.449 MB / 0.724 GB, free: 9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.6016, allocations: 77.53 kB / 0.7241 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.6057, allocations: 1.84 MB / 0.7259 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008129/0.6065, allocations: 1.029 MB / 0.7269 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.6068, allocations: 63.42 kB / 0.7269 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.6068, allocations: 4 kB / 0.7269 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of Templates: time 0.02948/0.6363, allocations: 18.01 MB / 0.7445 GB, free: 3.895 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)