Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1404/0.1404, allocations: 12.2 MB / 27.43 MB, free: 1.387 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.00121/0.00121, allocations: 120.2 kB / 30.94 MB, free: 4.664 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 / 239.4 MB, free: 10.93 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.001356/0.001356, allocations: 192.5 kB / 289.6 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4962/0.4962, allocations: 78.5 MB / 418.1 MB, free: 31.73 MB / 318.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.002835/0.002835, allocations: 128.9 kB / 498.5 MB, free: 448 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4407, allocations: 68.04 MB / 0.5533 GB, free: 37.77 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006814/0.4475, allocations: 6.867 MB / 0.56 GB, free: 32.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003741/0.4513, allocations: 1.875 MB / 0.5618 GB, free: 31.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005015/0.4519, allocations: 13.5 kB / 0.5618 GB, free: 31.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005482/0.4524, allocations: 174.5 kB / 0.562 GB, free: 31.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.4539, allocations: 0.6324 MB / 0.5626 GB, free: 30.91 MB / 414.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.001113/0.455, allocations: 0.5693 MB / 0.5632 GB, free: 30.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.4562, allocations: 1.415 MB / 0.5645 GB, free: 29.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.4566, allocations: 325.7 kB / 0.5648 GB, free: 29.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005669/0.4572, allocations: 0.598 MB / 0.5654 GB, free: 29.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000644/0.4579, allocations: 0.7338 MB / 0.5661 GB, free: 29.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.458, allocations: 101 kB / 0.5662 GB, free: 29.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.4584, allocations: 237.4 kB / 0.5665 GB, free: 29.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.4586, allocations: 278.2 kB / 0.5667 GB, free: 28.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004213/0.4591, allocations: 0.6338 MB / 0.5674 GB, free: 28.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.4603, allocations: 1.5 MB / 0.5688 GB, free: 27.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4603, allocations: 0 / 0.5688 GB, free: 27.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4603, allocations: 0 / 0.5688 GB, free: 27.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.4603, allocations: 2.562 kB / 0.5688 GB, free: 27.71 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007463/0.4678, allocations: 2.552 MB / 0.5713 GB, free: 26.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.4679, allocations: 11.95 kB / 0.5713 GB, free: 26.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.468, allocations: 130.7 kB / 0.5714 GB, free: 26.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004746/0.4728, allocations: 0.7799 MB / 0.5722 GB, free: 26.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.4741, allocations: 0.7702 MB / 0.573 GB, free: 25.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002696/0.4744, allocations: 263.8 kB / 0.5732 GB, free: 25.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.4745, allocations: 77.44 kB / 0.5733 GB, free: 25.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.4767, allocations: 1.088 MB / 0.5743 GB, free: 25.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.4767, allocations: 0 / 0.5743 GB, free: 25.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/0.4768, allocations: 35.28 kB / 0.5744 GB, free: 25.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.4769, allocations: 18.56 kB / 0.5744 GB, free: 25.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.4792, allocations: 1.123 MB / 0.5755 GB, free: 24.71 MB / 414.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.00697/0.4862, allocations: 3.464 MB / 0.5789 GB, free: 22.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/0.4884, allocations: 1.431 MB / 0.5803 GB, free: 21.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/0.4902, allocations: 0.7897 MB / 0.581 GB, free: 21.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.4904, allocations: 15.11 kB / 0.5811 GB, free: 21.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.4904, allocations: 43.75 kB / 0.5811 GB, free: 21.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 5.621e-06/0.4904, allocations: 0 / 0.5811 GB, free: 21.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.02741/0.5178, allocations: 6.612 MB / 0.5876 GB, free: 19.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.518, allocations: 70.02 kB / 0.5876 GB, free: 19.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.5194, allocations: 0.8886 MB / 0.5885 GB, free: 19.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.5196, allocations: 45.17 kB / 0.5885 GB, free: 19.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.5199, allocations: 499.1 kB / 0.589 GB, free: 18.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/0.5203, allocations: 353.8 kB / 0.5894 GB, free: 18.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/0.5207, allocations: 206.6 kB / 0.5895 GB, free: 18.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.5208, allocations: 356.1 kB / 0.5899 GB, free: 17.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.5225, allocations: 0.7278 MB / 0.5906 GB, free: 17.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.5242, allocations: 0.8629 MB / 0.5914 GB, free: 16.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01874/0.543, allocations: 4.862 MB / 0.5962 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.543, allocations: 0 / 0.5962 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01188/0.5549, allocations: 4.278 MB / 0.6004 GB, free: 10.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.555, allocations: 15.22 kB / 0.6004 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.555, allocations: 0 / 0.6004 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005336/0.5604, allocations: 1.739 MB / 0.6021 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.5618, allocations: 223.7 kB / 0.6023 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01918/0.581, allocations: 9.07 MB / 0.6112 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.583, allocations: 178.9 kB / 0.6113 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.5831, allocations: 43.98 kB / 0.6114 GB, free: 14.74 MB / 430.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 (117): * Single equations (assignments): 116 * 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.0006409/0.5838, allocations: 237.7 kB / 0.6116 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.584, allocations: 126.4 kB / 0.6117 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/0.5967, allocations: 4.006 MB / 0.6156 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.5968, allocations: 12 kB / 0.6156 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5968, allocations: 7.984 kB / 0.6156 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/0.5968, allocations: 7.922 kB / 0.6157 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/0.6122, allocations: 5.614 MB / 0.6211 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.6122, allocations: 4 kB / 0.6211 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007613/0.613, allocations: 127.8 kB / 0.6213 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005687/0.6187, allocations: 1.738 MB / 0.623 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.6189, allocations: 16 kB / 0.623 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01856/0.6374, allocations: 8.077 MB / 0.6309 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.6375, allocations: 0 / 0.6309 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/0.652, allocations: 4.958 MB / 0.6357 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004709/0.6525, allocations: 199.4 kB / 0.6359 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.6527, allocations: 20 kB / 0.6359 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.6538, allocations: 111.9 kB / 0.636 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007484/0.6545, allocations: 212.7 kB / 0.6362 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-05/0.6546, allocations: 31.98 kB / 0.6362 GB, free: 4.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007914/0.6554, allocations: 0.593 MB / 0.6368 GB, free: 4.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6554, allocations: 0 / 0.6368 GB, free: 4.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001357/0.6568, allocations: 439.5 kB / 0.6372 GB, free: 3.855 MB / 446.1 MB 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 (65): * Single equations (assignments): 64 * 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.01493/0.6717, allocations: 5.542 MB / 0.6427 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007236/0.679, allocations: 2.51 MB / 0.6451 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.679, allocations: 0 / 0.6451 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004694/0.6837, allocations: 1.605 MB / 0.6467 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.6848, allocations: 96.53 kB / 0.6468 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03857/0.7234, allocations: 16.37 MB / 0.6628 GB, free: 9.266 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008277/0.7243, allocations: 1.099 MB / 0.6638 GB, free: 8.141 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005581/0.7248, allocations: 90.77 kB / 0.6639 GB, free: 8.047 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000586/0.7254, allocations: 447.3 kB / 0.6643 GB, free: 7.609 MB / 478.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7254, allocations: 0 / 0.6643 GB, free: 7.609 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06787/0.7933, allocations: 31.9 MB / 0.6955 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.7936, allocations: 239.3 kB / 0.6957 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/3.589, allocations: 0 / 0.6957 GB, free: 7.539 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)