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/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09152/0.09152, allocations: 12.36 MB / 31.19 MB, free: 4 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 113 kB / 37.24 MB, free: 1.238 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 207.6 MB / 250.8 MB, free: 7.34 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 204.5 kB / 306.1 MB, free: 488 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3331/0.3331, allocations: 79.72 MB / 440.9 MB, free: 12.47 MB / 318.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.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.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004308/0.004308, allocations: 151.8 kB / 0.5875 GB, free: 7.609 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4034, allocations: 71.95 MB / 0.6578 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006148/0.4095, allocations: 5.883 MB / 0.6635 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00373/0.4132, allocations: 1.739 MB / 0.6652 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005925/0.4138, allocations: 17.69 kB / 0.6653 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005521/0.4144, allocations: 198.5 kB / 0.6654 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.4163, allocations: 0.7448 MB / 0.6662 GB, free: 12.51 MB / 462.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.001383/0.4177, allocations: 0.5636 MB / 0.6667 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.4194, allocations: 1.258 MB / 0.668 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003761/0.4197, allocations: 185.7 kB / 0.6681 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008178/0.4206, allocations: 0.5417 MB / 0.6687 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008783/0.4214, allocations: 0.6456 MB / 0.6693 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.4216, allocations: 90.88 kB / 0.6694 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000519/0.4221, allocations: 227.8 kB / 0.6696 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.4224, allocations: 242.3 kB / 0.6698 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005373/0.4229, allocations: 0.5418 MB / 0.6704 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.4247, allocations: 1.368 MB / 0.6717 GB, free: 9.688 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4247, allocations: 0 / 0.6717 GB, free: 9.688 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4247, allocations: 1.562 kB / 0.6717 GB, free: 9.688 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.291e-05/0.4247, allocations: 0 / 0.6717 GB, free: 9.688 MB / 462.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.008034/0.4327, allocations: 2.305 MB / 0.6739 GB, free: 8.344 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4328, allocations: 13.14 kB / 0.674 GB, free: 8.34 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.433, allocations: 112.7 kB / 0.6741 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005138/0.4381, allocations: 0.7618 MB / 0.6748 GB, free: 7.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.4394, allocations: 0.6679 MB / 0.6755 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/0.4398, allocations: 299.2 kB / 0.6757 GB, free: 7.086 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.4399, allocations: 69.25 kB / 0.6758 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.442, allocations: 0.9624 MB / 0.6767 GB, free: 6.516 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.4421, allocations: 0 / 0.6767 GB, free: 6.516 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.4422, allocations: 29.53 kB / 0.6768 GB, free: 6.492 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.4422, allocations: 16.81 kB / 0.6768 GB, free: 6.492 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.4444, allocations: 0.9706 MB / 0.6777 GB, free: 6.035 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.005967/0.4504, allocations: 3.125 MB / 0.6808 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.4523, allocations: 0.7801 MB / 0.6816 GB, free: 3.156 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.4538, allocations: 0.6333 MB / 0.6822 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.4539, allocations: 17.22 kB / 0.6822 GB, free: 2.832 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.4539, allocations: 43.69 kB / 0.6822 GB, free: 2.785 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 3.076e-06/0.4539, allocations: 0 / 0.6822 GB, free: 2.785 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02642/0.4803, allocations: 6.368 MB / 0.6884 GB, free: 15.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.4804, allocations: 63.97 kB / 0.6885 GB, free: 15.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.4817, allocations: 0.8014 MB / 0.6893 GB, free: 15.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.4819, allocations: 41.45 kB / 0.6893 GB, free: 15.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.4822, allocations: 438.7 kB / 0.6898 GB, free: 14.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.4826, allocations: 315.3 kB / 0.6901 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/0.483, allocations: 190.1 kB / 0.6902 GB, free: 14.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.4832, allocations: 342.8 kB / 0.6906 GB, free: 14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.4849, allocations: 0.6647 MB / 0.6912 GB, free: 13.67 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.4867, allocations: 0.781 MB / 0.692 GB, free: 13.21 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01897/0.5057, allocations: 4.521 MB / 0.6964 GB, free: 10.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.5057, allocations: 4 kB / 0.6964 GB, free: 10.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01428/0.5199, allocations: 4.04 MB / 0.7003 GB, free: 6.613 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.52, allocations: 8 kB / 0.7003 GB, free: 6.605 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.52, allocations: 0 / 0.7003 GB, free: 6.605 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00635/0.5263, allocations: 1.738 MB / 0.702 GB, free: 4.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.5274, allocations: 187.7 kB / 0.7022 GB, free: 4.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/0.5505, allocations: 8.972 MB / 0.711 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.5521, allocations: 155.3 kB / 0.7111 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.5523, allocations: 43.92 kB / 0.7112 GB, free: 11.39 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.0006023/0.5529, allocations: 229.5 kB / 0.7114 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/0.5532, allocations: 107.3 kB / 0.7115 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.5667, allocations: 3.778 MB / 0.7152 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.5667, allocations: 11.94 kB / 0.7152 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5667, allocations: 4 kB / 0.7152 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/0.5667, allocations: 3.984 kB / 0.7152 GB, free: 7.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.5832, allocations: 5.309 MB / 0.7204 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.5832, allocations: 0 / 0.7204 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.5838, allocations: 91.89 kB / 0.7205 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006342/0.5902, allocations: 1.749 MB / 0.7222 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/0.5903, allocations: 12 kB / 0.7222 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02044/0.6108, allocations: 7.953 MB / 0.73 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6108, allocations: 0 / 0.73 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/0.6267, allocations: 4.705 MB / 0.7346 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005907/0.6273, allocations: 123.1 kB / 0.7347 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003535/0.6276, allocations: 16 kB / 0.7347 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.6288, allocations: 99.83 kB / 0.7348 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008004/0.6296, allocations: 216.4 kB / 0.735 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-05/0.6297, allocations: 20 kB / 0.735 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001069/0.6308, allocations: 0.5303 MB / 0.7355 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6308, allocations: 0 / 0.7355 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001814/0.6326, allocations: 407.7 kB / 0.7359 GB, free: 1.75 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.01636/0.649, allocations: 5.285 MB / 0.7411 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006911/0.6559, allocations: 2.199 MB / 0.7432 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6559, allocations: 0 / 0.7432 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004769/0.6606, allocations: 1.445 MB / 0.7446 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.6617, allocations: 83.33 kB / 0.7447 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03912/0.7008, allocations: 14.15 MB / 0.7585 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007752/0.7016, allocations: 1.029 MB / 0.7595 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003776/0.7019, allocations: 86.3 kB / 0.7596 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005815/0.7025, allocations: 375.3 kB / 0.76 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.7025, allocations: 3.938 kB / 0.76 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09942/0.802, allocations: 32.08 MB / 0.7913 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.86/17.66, allocations: 3.984 kB / 0.7913 GB, free: 8.75 MB / 0.5606 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.280200473964214] Failed to read output from testmodel.py, exit status != 0: 17.801907947985455 17.830375227 17.400137154 Calling exit ...