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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004177/0.004177, allocations: 102 kB / 15.73 MB, free: 6.055 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.349/1.349, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001367/0.001367, allocations: 188.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.446/0.446, allocations: 78.52 MB / 418.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 87.75 kB / 0.5532 GB, free: 1.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3223, allocations: 68.17 MB / 0.6197 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004649/0.327, allocations: 5.79 MB / 0.6254 GB, free: 4.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.3297, allocations: 1.736 MB / 0.6271 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003868/0.3301, allocations: 8 kB / 0.6271 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.3305, allocations: 210.2 kB / 0.6273 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.3318, allocations: 0.731 MB / 0.628 GB, free: 1.645 MB / 430.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.0009469/0.3328, allocations: 0.5697 MB / 0.6285 GB, free: 1.082 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008706/0.3336, allocations: 1.261 MB / 0.6298 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.334, allocations: 277.4 kB / 0.63 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005524/0.3346, allocations: 0.5212 MB / 0.6306 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006113/0.3352, allocations: 0.6494 MB / 0.6312 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.3353, allocations: 88 kB / 0.6313 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.3357, allocations: 223.9 kB / 0.6315 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.3359, allocations: 239 kB / 0.6317 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004233/0.3363, allocations: 0.5476 MB / 0.6322 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.3375, allocations: 1.355 MB / 0.6336 GB, free: 11.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3376, allocations: 0 / 0.6336 GB, free: 11.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3376, allocations: 0 / 0.6336 GB, free: 11.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3376, allocations: 0 / 0.6336 GB, free: 11.91 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.007045/0.3446, allocations: 2.352 MB / 0.6359 GB, free: 9.504 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3447, allocations: 8.031 kB / 0.6359 GB, free: 9.496 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.3448, allocations: 118.5 kB / 0.636 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004747/0.3496, allocations: 0.7596 MB / 0.6367 GB, free: 8.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.3507, allocations: 0.7049 MB / 0.6374 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.351, allocations: 248.2 kB / 0.6377 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.3511, allocations: 68 kB / 0.6377 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.353, allocations: 0.9637 MB / 0.6387 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.353, allocations: 0 / 0.6387 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/0.3531, allocations: 32 kB / 0.6387 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.3531, allocations: 19.94 kB / 0.6387 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.3551, allocations: 0.9798 MB / 0.6397 GB, free: 5.508 MB / 446.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.004845/0.3599, allocations: 3.162 MB / 0.6428 GB, free: 2.195 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.3618, allocations: 1.306 MB / 0.644 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.3631, allocations: 0.6993 MB / 0.6447 GB, free: 68 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.3633, allocations: 17 kB / 0.6447 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.3633, allocations: 39.56 kB / 0.6448 GB, free: 4 kB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 2.775e-06/0.3633, allocations: 0 / 0.6448 GB, free: 4 kB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.02368/0.387, allocations: 6.477 MB / 0.6511 GB, free: 9.488 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3871, allocations: 68.34 kB / 0.6512 GB, free: 9.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.3882, allocations: 0.7906 MB / 0.6519 GB, free: 8.613 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.3883, allocations: 41.7 kB / 0.652 GB, free: 8.566 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.3887, allocations: 440.3 kB / 0.6524 GB, free: 8.129 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.389, allocations: 299.7 kB / 0.6527 GB, free: 7.832 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004241/0.3895, allocations: 190.8 kB / 0.6529 GB, free: 7.637 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3896, allocations: 345.9 kB / 0.6532 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.391, allocations: 0.6624 MB / 0.6538 GB, free: 6.633 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.3925, allocations: 0.7873 MB / 0.6546 GB, free: 5.812 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0173/0.4098, allocations: 4.516 MB / 0.659 GB, free: 1.262 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.4099, allocations: 0 / 0.659 GB, free: 1.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01266/0.4225, allocations: 4.074 MB / 0.663 GB, free: 13.17 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.4226, allocations: 12 kB / 0.663 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4226, allocations: 0 / 0.663 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005736/0.4284, allocations: 1.733 MB / 0.6647 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009348/0.4293, allocations: 191.8 kB / 0.6649 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01999/0.4493, allocations: 9.041 MB / 0.6737 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.4506, allocations: 159 kB / 0.6739 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.4507, allocations: 35.98 kB / 0.6739 GB, free: 1.852 MB / 478.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.0004831/0.4512, allocations: 233.6 kB / 0.6741 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.4515, allocations: 102.7 kB / 0.6742 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.4632, allocations: 3.809 MB / 0.6779 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.4632, allocations: 11.94 kB / 0.6779 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4632, allocations: 4 kB / 0.6779 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.4633, allocations: 7.969 kB / 0.678 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.4768, allocations: 5.372 MB / 0.6832 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4769, allocations: 0 / 0.6832 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.4774, allocations: 91.83 kB / 0.6833 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00553/0.4829, allocations: 1.741 MB / 0.685 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.483, allocations: 15.98 kB / 0.685 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/0.5005, allocations: 8.052 MB / 0.6929 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5005, allocations: 3.938 kB / 0.6929 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/0.5138, allocations: 4.728 MB / 0.6975 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.5141, allocations: 195.6 kB / 0.6977 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.5143, allocations: 15.94 kB / 0.6977 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008973/0.5152, allocations: 91.89 kB / 0.6978 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005983/0.5158, allocations: 204.7 kB / 0.698 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.593e-05/0.5159, allocations: 19.98 kB / 0.698 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000678/0.5166, allocations: 0.5381 MB / 0.6985 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5166, allocations: 0 / 0.6985 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001157/0.5178, allocations: 411.5 kB / 0.6989 GB, free: 7.871 MB / 0.4981 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.01361/0.5314, allocations: 5.307 MB / 0.7041 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006031/0.5374, allocations: 2.308 MB / 0.7063 GB, free: 212 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5375, allocations: 3.938 kB / 0.7064 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004293/0.5418, allocations: 1.512 MB / 0.7078 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.5425, allocations: 83.14 kB / 0.7079 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03455/0.5771, allocations: 14.14 MB / 0.7217 GB, free: 268 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/0.5778, allocations: 1.033 MB / 0.7227 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003011/0.5781, allocations: 86.25 kB / 0.7228 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/0.5786, allocations: 375.3 kB / 0.7232 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.5786, allocations: 0 / 0.7232 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05795/0.6366, allocations: 30.97 MB / 0.7534 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.64, allocations: 4.547 kB / 0.7534 GB, free: 15.88 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)