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.0009352/0.0009355, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.41/1.41, allocations: 223.2 MB / 239 MB, free: 5.52 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.001375/0.001374, allocations: 172.6 kB / 290.3 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4633/0.4633, allocations: 79.48 MB / 420.8 MB, free: 3.859 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004244, allocations: 12 kB / 0.4892 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3588, allocations: 69.51 MB / 0.5571 GB, free: 37.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004959/0.3638, allocations: 5.357 MB / 0.5623 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003498/0.3673, allocations: 1.707 MB / 0.564 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005303/0.3679, allocations: 14.84 kB / 0.564 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.3683, allocations: 140 kB / 0.5641 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.3696, allocations: 0.5773 MB / 0.5647 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009894/0.3706, allocations: 494.1 kB / 0.5652 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009552/0.3716, allocations: 1.136 MB / 0.5663 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.3719, allocations: 212.6 kB / 0.5665 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/0.3723, allocations: 468.7 kB / 0.5669 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.3728, allocations: 0.564 MB / 0.5675 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.048e-05/0.3729, allocations: 46.56 kB / 0.5675 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.3732, allocations: 172.7 kB / 0.5677 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.3733, allocations: 190.4 kB / 0.5679 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.3735, allocations: 197.2 kB / 0.5681 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007877/0.3743, allocations: 0.9994 MB / 0.569 GB, free: 35.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3743, allocations: 0 / 0.569 GB, free: 35.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3743, allocations: 3.062 kB / 0.569 GB, free: 35.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.3743, allocations: 0 / 0.569 GB, free: 35.78 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.005784/0.3801, allocations: 2.199 MB / 0.5712 GB, free: 35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3802, allocations: 10.25 kB / 0.5712 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.3803, allocations: 116 kB / 0.5713 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.3846, allocations: 0.7745 MB / 0.5721 GB, free: 34.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008732/0.3855, allocations: 0.6637 MB / 0.5727 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.3857, allocations: 263.3 kB / 0.573 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.3858, allocations: 66.78 kB / 0.573 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.3877, allocations: 1.03 MB / 0.574 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3877, allocations: 0.8438 kB / 0.574 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.275e-05/0.3878, allocations: 25.62 kB / 0.5741 GB, free: 34.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.3878, allocations: 19.52 kB / 0.5741 GB, free: 34.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.3895, allocations: 1.06 MB / 0.5751 GB, free: 33.86 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.004486/0.394, allocations: 3.285 MB / 0.5783 GB, free: 31.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.3956, allocations: 1.366 MB / 0.5797 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.3968, allocations: 0.7799 MB / 0.5804 GB, free: 30.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.3969, allocations: 16.56 kB / 0.5804 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.3969, allocations: 42.59 kB / 0.5805 GB, free: 30.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.145e-06/0.3969, allocations: 0 / 0.5805 GB, free: 30.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02318/0.4201, allocations: 8.01 MB / 0.5883 GB, free: 29.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4202, allocations: 61.53 kB / 0.5884 GB, free: 29.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.4213, allocations: 0.7838 MB / 0.5891 GB, free: 28.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.4215, allocations: 41.73 kB / 0.5892 GB, free: 28.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.4217, allocations: 442 kB / 0.5896 GB, free: 28.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.422, allocations: 296.2 kB / 0.5899 GB, free: 28.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/0.4221, allocations: 20.31 kB / 0.5899 GB, free: 28.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.4222, allocations: 347.5 kB / 0.5902 GB, free: 28.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.4236, allocations: 0.7273 MB / 0.5909 GB, free: 27.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.4251, allocations: 0.8624 MB / 0.5918 GB, free: 27.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.4265, allocations: 0.7827 MB / 0.5925 GB, free: 27.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.4266, allocations: 1.469 kB / 0.5925 GB, free: 27.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01336/0.4399, allocations: 5.034 MB / 0.5974 GB, free: 26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.44, allocations: 6.875 kB / 0.5975 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.44, allocations: 2.719 kB / 0.5975 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006402/0.4464, allocations: 2.081 MB / 0.5995 GB, free: 25.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000921/0.4474, allocations: 185.1 kB / 0.5997 GB, free: 25.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/0.4677, allocations: 9.517 MB / 0.609 GB, free: 21.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.4692, allocations: 197.1 kB / 0.6091 GB, free: 21.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.903e-05/0.4693, allocations: 37.03 kB / 0.6092 GB, free: 21.43 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004575/0.4698, allocations: 228.7 kB / 0.6094 GB, free: 21.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.47, allocations: 103.7 kB / 0.6095 GB, free: 21.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.482, allocations: 4.729 MB / 0.6141 GB, free: 18.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.4821, allocations: 8.844 kB / 0.6141 GB, free: 18.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4821, allocations: 0 / 0.6141 GB, free: 18.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.4821, allocations: 8.906 kB / 0.6141 GB, free: 18.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.4944, allocations: 6.251 MB / 0.6202 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.4944, allocations: 0 / 0.6202 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004788/0.4949, allocations: 99.88 kB / 0.6203 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004916/0.4998, allocations: 2.045 MB / 0.6223 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.5, allocations: 16 kB / 0.6223 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01471/0.5147, allocations: 8.197 MB / 0.6304 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5147, allocations: 0 / 0.6304 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/0.5283, allocations: 5.67 MB / 0.6359 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004598/0.5288, allocations: 195.6 kB / 0.6361 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003641/0.5292, allocations: 16 kB / 0.6361 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.5303, allocations: 127.9 kB / 0.6362 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007059/0.531, allocations: 200.6 kB / 0.6364 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.5311, allocations: 20 kB / 0.6364 GB, free: 11.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008729/0.532, allocations: 0.5185 MB / 0.6369 GB, free: 10.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.532, allocations: 4 kB / 0.6369 GB, free: 10.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001746/0.5338, allocations: 415.5 kB / 0.6373 GB, free: 10.12 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01407/0.5479, allocations: 6.249 MB / 0.6434 GB, free: 3.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006221/0.5541, allocations: 2.582 MB / 0.646 GB, free: 1.254 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.5542, allocations: 0 / 0.646 GB, free: 1.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004171/0.5584, allocations: 1.697 MB / 0.6476 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009829/0.5594, allocations: 80.56 kB / 0.6477 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02223/0.5816, allocations: 10.51 MB / 0.658 GB, free: 4.723 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.5824, allocations: 1.033 MB / 0.659 GB, free: 3.664 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004119/0.5828, allocations: 80.42 kB / 0.659 GB, free: 3.586 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005552/0.5834, allocations: 367.3 kB / 0.6594 GB, free: 3.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5834, allocations: 0 / 0.6594 GB, free: 3.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7462/1.33, allocations: 27.59 MB / 0.6863 GB, free: 7.996 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/1.33, allocations: 196.2 kB / 0.6865 GB, free: 7.762 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.777, allocations: 0 / 0.6865 GB, free: 7.762 MB / 494.1 MB (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/linux/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) Environment - environmentSimulation: