Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.1157/0.1157, allocations: 12.59 MB / 28.22 MB, free: 1.07 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.001206/0.001207, allocations: 115.4 kB / 31.83 MB, free: 4.012 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.272/1.272, allocations: 205.1 MB / 240.4 MB, free: 12.35 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.001277/0.001277, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.436/0.436, allocations: 78.51 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.00276/0.00276, allocations: 137.4 kB / 0.5554 GB, free: 28.77 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1734, allocations: 68.13 MB / 0.6219 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.009222/0.1826, allocations: 5.735 MB / 0.6275 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0051/0.1878, allocations: 1.697 MB / 0.6292 GB, free: 8.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.1891, allocations: 11.94 kB / 0.6292 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009738/0.1901, allocations: 198.3 kB / 0.6294 GB, free: 8.223 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.1932, allocations: 0.6754 MB / 0.63 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.195, allocations: 0.5646 MB / 0.6306 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002651/0.1976, allocations: 1.226 MB / 0.6318 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008562/0.1985, allocations: 266 kB / 0.632 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.2001, allocations: 0.5173 MB / 0.6325 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.2018, allocations: 0.6377 MB / 0.6332 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005722/0.2024, allocations: 88 kB / 0.6332 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.2039, allocations: 219.9 kB / 0.6335 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006623/0.2046, allocations: 238.9 kB / 0.6337 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.2061, allocations: 0.5437 MB / 0.6342 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003557/0.2097, allocations: 1.328 MB / 0.6355 GB, free: 1.914 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.2097, allocations: 0 / 0.6355 GB, free: 1.914 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.2098, allocations: 3.938 kB / 0.6355 GB, free: 1.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.535e-05/0.2098, allocations: 0 / 0.6355 GB, free: 1.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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.01477/0.2246, allocations: 2.337 MB / 0.6378 GB, free: 15.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.11e-05/0.2247, allocations: 11.98 kB / 0.6378 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003916/0.2251, allocations: 118.5 kB / 0.6379 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.2354, allocations: 0.7557 MB / 0.6387 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.2382, allocations: 0.701 MB / 0.6393 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005497/0.2388, allocations: 251.5 kB / 0.6396 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/0.2392, allocations: 68 kB / 0.6396 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004163/0.2434, allocations: 0.9472 MB / 0.6406 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.2435, allocations: 0 / 0.6406 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.2436, allocations: 24 kB / 0.6406 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.2437, allocations: 19.94 kB / 0.6406 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.2465, allocations: 0.9655 MB / 0.6416 GB, free: 11.57 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.007722/0.2543, allocations: 3.135 MB / 0.6446 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.257, allocations: 1.323 MB / 0.6459 GB, free: 6.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/0.2589, allocations: 0.6944 MB / 0.6466 GB, free: 6.145 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.2591, allocations: 8.656 kB / 0.6466 GB, free: 6.133 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.2592, allocations: 47.22 kB / 0.6466 GB, free: 6.078 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 6.573e-06/0.2592, allocations: 0 / 0.6466 GB, free: 6.078 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.03369/0.2929, allocations: 6.704 MB / 0.6532 GB, free: 15.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/0.2931, allocations: 67.94 kB / 0.6533 GB, free: 15.26 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.2946, allocations: 0.7866 MB / 0.654 GB, free: 14.46 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002818/0.2949, allocations: 37.7 kB / 0.6541 GB, free: 14.42 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000403/0.2953, allocations: 432.4 kB / 0.6545 GB, free: 13.99 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000526/0.2958, allocations: 287.8 kB / 0.6547 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004878/0.2963, allocations: 178.5 kB / 0.6549 GB, free: 13.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2965, allocations: 341.9 kB / 0.6552 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.2982, allocations: 0.6425 MB / 0.6559 GB, free: 12.54 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.3001, allocations: 0.7627 MB / 0.6566 GB, free: 11.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02511/0.3252, allocations: 4.446 MB / 0.661 GB, free: 7.266 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.3253, allocations: 0 / 0.661 GB, free: 7.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01541/0.3407, allocations: 4.039 MB / 0.6649 GB, free: 3.215 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.3408, allocations: 8 kB / 0.6649 GB, free: 3.207 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.3408, allocations: 7.984 kB / 0.6649 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007131/0.3479, allocations: 1.863 MB / 0.6667 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00095/0.3489, allocations: 159.8 kB / 0.6669 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02494/0.3739, allocations: 9.084 MB / 0.6758 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.3754, allocations: 155 kB / 0.6759 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/0.3756, allocations: 35.98 kB / 0.6759 GB, free: 7.754 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0005494/0.3762, allocations: 214.3 kB / 0.6761 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.3765, allocations: 102.8 kB / 0.6762 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/0.3901, allocations: 3.821 MB / 0.68 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.3902, allocations: 11.98 kB / 0.68 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3902, allocations: 0 / 0.68 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/0.3902, allocations: 3.984 kB / 0.68 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/0.4069, allocations: 5.325 MB / 0.6852 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.4069, allocations: 0 / 0.6852 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006375/0.4076, allocations: 99.81 kB / 0.6853 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007236/0.4148, allocations: 1.741 MB / 0.687 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.415, allocations: 16 kB / 0.687 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01979/0.4348, allocations: 8.068 MB / 0.6949 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.4348, allocations: 8 kB / 0.6949 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/0.4502, allocations: 4.677 MB / 0.6995 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.4507, allocations: 195.5 kB / 0.6996 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.451, allocations: 20.06 kB / 0.6997 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.4521, allocations: 83.89 kB / 0.6997 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006872/0.4528, allocations: 208.5 kB / 0.6999 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-05/0.4529, allocations: 19.98 kB / 0.7 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007513/0.4536, allocations: 0.5342 MB / 0.7005 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4537, allocations: 3.938 kB / 0.7005 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001421/0.4551, allocations: 403.5 kB / 0.7009 GB, free: 13.86 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.01578/0.4709, allocations: 5.261 MB / 0.706 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007156/0.4781, allocations: 2.314 MB / 0.7083 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4781, allocations: 0 / 0.7083 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005206/0.4833, allocations: 1.496 MB / 0.7097 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.4846, allocations: 83.23 kB / 0.7098 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3623/0.8469, allocations: 13.94 MB / 0.7234 GB, free: 84.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.8476, allocations: 1.027 MB / 0.7244 GB, free: 84.08 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004005/0.848, allocations: 78.97 kB / 0.7245 GB, free: 84.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004735/0.8485, allocations: 378.9 kB / 0.7249 GB, free: 83.86 MB / 0.5137 GB Notification: Performance of SimCode: time 1.222e-06/0.8485, allocations: 0 / 0.7249 GB, free: 83.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08591/0.9344, allocations: 31.92 MB / 0.756 GB, free: 63.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.32/29.26, allocations: 17.92 kB / 0.756 GB, free: 63.25 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)