Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1356/0.1356, allocations: 12.59 MB / 28.22 MB, free: 0.7344 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.001861/0.001861, allocations: 107.4 kB / 31.83 MB, free: 3.867 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.789/1.789, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001891/0.001891, allocations: 179.4 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4716/0.4716, allocations: 78.52 MB / 419.3 MB, free: 11.23 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.004063/0.004063, allocations: 140 kB / 0.5554 GB, free: 28.76 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1871, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.008314/0.1955, allocations: 5.795 MB / 0.6276 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004493/0.2001, allocations: 1.701 MB / 0.6292 GB, free: 8.391 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008518/0.201, allocations: 15.94 kB / 0.6292 GB, free: 8.375 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007001/0.2017, allocations: 198.3 kB / 0.6294 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.204, allocations: 0.6978 MB / 0.6301 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.2058, allocations: 0.5568 MB / 0.6307 GB, free: 6.934 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.2077, allocations: 1.249 MB / 0.6319 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005503/0.2083, allocations: 271.2 kB / 0.6321 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008176/0.2091, allocations: 0.5212 MB / 0.6326 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009379/0.2101, allocations: 0.6455 MB / 0.6333 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.2103, allocations: 88 kB / 0.6334 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006046/0.2109, allocations: 227.8 kB / 0.6336 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.2112, allocations: 246.9 kB / 0.6338 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000598/0.2118, allocations: 0.5398 MB / 0.6343 GB, free: 3.137 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.2137, allocations: 1.356 MB / 0.6357 GB, free: 1.777 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2137, allocations: 0 / 0.6357 GB, free: 1.777 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.2137, allocations: 0 / 0.6357 GB, free: 1.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.2137, allocations: 0 / 0.6357 GB, free: 1.777 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.01114/0.2249, allocations: 2.353 MB / 0.638 GB, free: 15.37 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.2249, allocations: 11.98 kB / 0.638 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002012/0.2251, allocations: 122.4 kB / 0.6381 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008351/0.2335, allocations: 0.7556 MB / 0.6388 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.2355, allocations: 0.7088 MB / 0.6395 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003988/0.2359, allocations: 256.2 kB / 0.6398 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.2361, allocations: 68 kB / 0.6398 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.2392, allocations: 0.9675 MB / 0.6408 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.2392, allocations: 0 / 0.6408 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.2393, allocations: 28 kB / 0.6408 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.2394, allocations: 16 kB / 0.6408 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003154/0.2425, allocations: 0.976 MB / 0.6418 GB, free: 11.37 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.007775/0.2503, allocations: 3.15 MB / 0.6448 GB, free: 8.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.2533, allocations: 1.308 MB / 0.6461 GB, free: 6.641 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/0.2555, allocations: 0.696 MB / 0.6468 GB, free: 5.945 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.2557, allocations: 16.64 kB / 0.6468 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.2557, allocations: 39.22 kB / 0.6469 GB, free: 5.883 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 4.839e-06/0.2557, allocations: 4 kB / 0.6469 GB, free: 5.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.03987/0.2956, allocations: 6.759 MB / 0.6535 GB, free: 15.08 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.2958, allocations: 68 kB / 0.6535 GB, free: 15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.2974, allocations: 0.7986 MB / 0.6543 GB, free: 14.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000245/0.2977, allocations: 45.64 kB / 0.6543 GB, free: 14.13 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.2981, allocations: 432.4 kB / 0.6548 GB, free: 13.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000417/0.2985, allocations: 295.8 kB / 0.655 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005394/0.2991, allocations: 178.9 kB / 0.6552 GB, free: 13.22 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2992, allocations: 345.9 kB / 0.6555 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.3014, allocations: 0.6506 MB / 0.6562 GB, free: 12.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002277/0.3037, allocations: 0.7718 MB / 0.6569 GB, free: 11.42 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02613/0.3298, allocations: 4.5 MB / 0.6613 GB, free: 6.887 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.3299, allocations: 0 / 0.6613 GB, free: 6.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01998/0.3499, allocations: 4.113 MB / 0.6653 GB, free: 2.762 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.509e-05/0.35, allocations: 8 kB / 0.6654 GB, free: 2.754 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.35, allocations: 7.938 kB / 0.6654 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009102/0.3591, allocations: 1.788 MB / 0.6671 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.3605, allocations: 167.8 kB / 0.6673 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03283/0.3933, allocations: 9.316 MB / 0.6764 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.3952, allocations: 151 kB / 0.6765 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.3954, allocations: 35.98 kB / 0.6765 GB, free: 7.137 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005968/0.396, allocations: 225.7 kB / 0.6768 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.3963, allocations: 102.7 kB / 0.6769 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0192/0.4155, allocations: 3.829 MB / 0.6806 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.4156, allocations: 11.94 kB / 0.6806 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4156, allocations: 4 kB / 0.6806 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.456e-05/0.4156, allocations: 7.984 kB / 0.6806 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/0.4374, allocations: 5.345 MB / 0.6858 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.4375, allocations: 0 / 0.6858 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007672/0.4383, allocations: 87.89 kB / 0.6859 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008734/0.447, allocations: 1.745 MB / 0.6876 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/0.4472, allocations: 15.98 kB / 0.6876 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0282/0.4754, allocations: 8.072 MB / 0.6955 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4755, allocations: 0 / 0.6955 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02179/0.4973, allocations: 4.716 MB / 0.7001 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.4979, allocations: 183.7 kB / 0.7003 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.4981, allocations: 16 kB / 0.7003 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.4995, allocations: 95.89 kB / 0.7004 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009274/0.5004, allocations: 196.7 kB / 0.7006 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.5006, allocations: 16 kB / 0.7006 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009886/0.5016, allocations: 0.5382 MB / 0.7011 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5016, allocations: 3.938 kB / 0.7011 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001822/0.5034, allocations: 407.6 kB / 0.7015 GB, free: 13.16 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.02226/0.5257, allocations: 5.28 MB / 0.7067 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009642/0.5354, allocations: 2.338 MB / 0.709 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.5354, allocations: 0 / 0.709 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006812/0.5422, allocations: 1.515 MB / 0.7104 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.5434, allocations: 79.28 kB / 0.7105 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4325/0.9759, allocations: 14.15 MB / 0.7243 GB, free: 85.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/0.9766, allocations: 1.03 MB / 0.7254 GB, free: 84.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004929/0.9771, allocations: 77 kB / 0.7254 GB, free: 84.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005842/0.9777, allocations: 366.6 kB / 0.7258 GB, free: 84.48 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.9777, allocations: 0 / 0.7258 GB, free: 84.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.45/3.427, allocations: 32.42 MB / 0.7574 GB, free: 62.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.91/26.34, allocations: 17.03 kB / 0.7574 GB, free: 62.53 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)