Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_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.001395/0.001395, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 239.3 MB, free: 4.625 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.001609/0.001609, allocations: 184.5 kB / 289.6 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5548/0.5548, allocations: 91.9 MB / 431.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 76.2 kB / 0.502 GB, free: 7.707 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3993, allocations: 71.25 MB / 0.5716 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005613/0.405, allocations: 5.821 MB / 0.5773 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.4084, allocations: 1.765 MB / 0.579 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005795/0.409, allocations: 12.5 kB / 0.579 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.4097, allocations: 211 kB / 0.5792 GB, free: 32.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.4113, allocations: 0.6771 MB / 0.5798 GB, free: 31.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.4125, allocations: 0.5774 MB / 0.5804 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.414, allocations: 1.244 MB / 0.5816 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000508/0.4146, allocations: 273.8 kB / 0.5819 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006715/0.4152, allocations: 0.5226 MB / 0.5824 GB, free: 30.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007254/0.416, allocations: 0.6387 MB / 0.583 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.4161, allocations: 86.41 kB / 0.5831 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.4166, allocations: 233 kB / 0.5833 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.4168, allocations: 246.5 kB / 0.5836 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003907/0.4172, allocations: 0.5379 MB / 0.5841 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.4184, allocations: 1.348 MB / 0.5854 GB, free: 28.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4184, allocations: 0 / 0.5854 GB, free: 28.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4184, allocations: 0 / 0.5854 GB, free: 28.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.4184, allocations: 0 / 0.5854 GB, free: 28.88 MB / 430.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.007452/0.4259, allocations: 2.345 MB / 0.5877 GB, free: 27.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.426, allocations: 13.16 kB / 0.5877 GB, free: 27.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.4261, allocations: 118.3 kB / 0.5878 GB, free: 27.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.431, allocations: 0.7513 MB / 0.5886 GB, free: 27.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.4323, allocations: 0.7047 MB / 0.5892 GB, free: 27.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000275/0.4325, allocations: 253 kB / 0.5895 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.4327, allocations: 72.5 kB / 0.5896 GB, free: 26.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.4348, allocations: 0.9578 MB / 0.5905 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.4348, allocations: 3.984 kB / 0.5905 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.4349, allocations: 29.31 kB / 0.5905 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/0.435, allocations: 16.56 kB / 0.5905 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.4375, allocations: 0.9797 MB / 0.5915 GB, free: 26.13 MB / 430.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.006095/0.4436, allocations: 3.212 MB / 0.5946 GB, free: 24.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.446, allocations: 1.304 MB / 0.5959 GB, free: 23.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.4477, allocations: 0.7078 MB / 0.5966 GB, free: 23.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.4478, allocations: 15.86 kB / 0.5966 GB, free: 23.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.4479, allocations: 40.5 kB / 0.5966 GB, free: 23.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.637e-06/0.4479, allocations: 0 / 0.5966 GB, free: 23.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02912/0.477, allocations: 6.479 MB / 0.603 GB, free: 21.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.4771, allocations: 64.66 kB / 0.603 GB, free: 21.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.4785, allocations: 0.7883 MB / 0.6038 GB, free: 21.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002002/0.4788, allocations: 44.45 kB / 0.6038 GB, free: 21.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.479, allocations: 437.7 kB / 0.6043 GB, free: 21.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.4793, allocations: 299.1 kB / 0.6046 GB, free: 20.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003653/0.4797, allocations: 184.8 kB / 0.6047 GB, free: 20.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4798, allocations: 348.6 kB / 0.6051 GB, free: 20.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.4815, allocations: 0.656 MB / 0.6057 GB, free: 20.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.4832, allocations: 0.7895 MB / 0.6065 GB, free: 19.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01939/0.5025, allocations: 4.523 MB / 0.6109 GB, free: 18.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/0.5026, allocations: 1 kB / 0.6109 GB, free: 18.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01481/0.5174, allocations: 4.081 MB / 0.6149 GB, free: 17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.5175, allocations: 6.156 kB / 0.6149 GB, free: 17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.5175, allocations: 9.828 kB / 0.6149 GB, free: 16.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006408/0.5239, allocations: 1.727 MB / 0.6166 GB, free: 16.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.525, allocations: 191.7 kB / 0.6168 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01949/0.5445, allocations: 9.068 MB / 0.6256 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.5461, allocations: 151.1 kB / 0.6258 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.731e-05/0.5462, allocations: 39.92 kB / 0.6258 GB, free: 6.531 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 (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.0004434/0.5467, allocations: 228.1 kB / 0.626 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.5469, allocations: 106.7 kB / 0.6261 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/0.5588, allocations: 3.809 MB / 0.6298 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.5588, allocations: 11.94 kB / 0.6298 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.5588, allocations: 4 kB / 0.6299 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.56e-05/0.5589, allocations: 3.984 kB / 0.6299 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/0.5738, allocations: 5.341 MB / 0.6351 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.5739, allocations: 3.938 kB / 0.6351 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.5745, allocations: 95.89 kB / 0.6352 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006263/0.5808, allocations: 1.741 MB / 0.6369 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.581, allocations: 12 kB / 0.6369 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/0.6006, allocations: 8.072 MB / 0.6448 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6006, allocations: 3.984 kB / 0.6448 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/0.616, allocations: 4.696 MB / 0.6494 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.6165, allocations: 187.6 kB / 0.6495 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.6166, allocations: 16 kB / 0.6495 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009856/0.6176, allocations: 91.89 kB / 0.6496 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006667/0.6183, allocations: 204.7 kB / 0.6498 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/0.6184, allocations: 16 kB / 0.6498 GB, free: 13.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006748/0.6191, allocations: 0.5341 MB / 0.6504 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6191, allocations: 0 / 0.6504 GB, free: 13.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00123/0.6203, allocations: 411.5 kB / 0.6508 GB, free: 12.61 MB / 462.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 (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.01515/0.6355, allocations: 5.275 MB / 0.6559 GB, free: 7.301 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006912/0.6424, allocations: 2.321 MB / 0.6582 GB, free: 4.965 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.6425, allocations: 4 kB / 0.6582 GB, free: 4.961 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004802/0.6473, allocations: 1.515 MB / 0.6597 GB, free: 3.438 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008872/0.6482, allocations: 75.34 kB / 0.6597 GB, free: 3.363 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03698/0.6852, allocations: 14.61 MB / 0.674 GB, free: 4.426 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/0.686, allocations: 1.033 MB / 0.675 GB, free: 3.367 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004397/0.6864, allocations: 82.3 kB / 0.6751 GB, free: 3.285 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/0.687, allocations: 379.3 kB / 0.6754 GB, free: 2.914 MB / 478.1 MB Notification: Performance of SimCode: time 1.413e-06/0.687, allocations: 0 / 0.6754 GB, free: 2.914 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0638/0.7508, allocations: 30.6 MB / 0.7053 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.18, allocations: 3.219 kB / 0.7053 GB, free: 4.426 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)