Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 173.4 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.5 MB / 229.6 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008654/0.0008654, allocations: 95.34 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4851/0.4851, allocations: 78.12 MB / 409.4 MB, free: 6.441 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.239e-05, allocations: 3.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.163, allocations: 69.35 MB / 0.5414 GB, free: 6.855 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4472/0.6103, allocations: 96.19 MB / 0.6354 GB, free: 3.406 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.6106, allocations: 76.48 kB / 0.6354 GB, free: 3.332 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05787/0.6684, allocations: 21.16 MB / 0.6561 GB, free: 14.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6685, allocations: 0 / 0.6561 GB, free: 14.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.361e-05/0.6685, allocations: 17.31 kB / 0.6561 GB, free: 14.24 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.003827/0.6724, allocations: 1.478 MB / 0.6576 GB, free: 12.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.6724, allocations: 8.031 kB / 0.6576 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/0.6752, allocations: 470.1 kB / 0.658 GB, free: 12.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.6763, allocations: 0.5813 MB / 0.6586 GB, free: 11.62 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.6765, allocations: 168 kB / 0.6587 GB, free: 11.44 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.6766, allocations: 39.91 kB / 0.6588 GB, free: 11.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00129/0.6779, allocations: 0.7055 MB / 0.6595 GB, free: 10.69 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.6791, allocations: 0.6443 MB / 0.6601 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.6791, allocations: 0 / 0.6601 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.985e-05/0.6792, allocations: 3.938 kB / 0.6601 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.6792, allocations: 12 kB / 0.6601 GB, free: 10.03 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004212/0.6834, allocations: 2.371 MB / 0.6624 GB, free: 7.566 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.6847, allocations: 0.9438 MB / 0.6633 GB, free: 6.539 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006716/0.6854, allocations: 0.4935 MB / 0.6638 GB, free: 6.043 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.6855, allocations: 12.78 kB / 0.6638 GB, free: 6.031 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.6855, allocations: 39.34 kB / 0.6639 GB, free: 5.984 MB / 474.7 MB Notification: Performance of pre-optimization done (n=83): time 2.825e-06/0.6855, allocations: 0 / 0.6639 GB, free: 5.984 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.01105/0.6966, allocations: 3.461 MB / 0.6673 GB, free: 2.508 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.6967, allocations: 60.94 kB / 0.6673 GB, free: 2.438 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008649/0.6975, allocations: 0.5866 MB / 0.6679 GB, free: 1.844 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.6977, allocations: 25.7 kB / 0.6679 GB, free: 1.812 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.698, allocations: 408.8 kB / 0.6683 GB, free: 1.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/0.6983, allocations: 283.7 kB / 0.6686 GB, free: 1.129 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/0.6984, allocations: 0 / 0.6686 GB, free: 1.129 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6985, allocations: 330 kB / 0.6689 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005985/0.6991, allocations: 377.5 kB / 0.6693 GB, free: 444 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/0.6998, allocations: 454.6 kB / 0.6697 GB, free: 15.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.7005, allocations: 418 kB / 0.6701 GB, free: 15.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7005, allocations: 0 / 0.6701 GB, free: 15.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01114/0.7116, allocations: 3.518 MB / 0.6735 GB, free: 12.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.7117, allocations: 8 kB / 0.6735 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.7117, allocations: 0 / 0.6735 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005536/0.7173, allocations: 1.481 MB / 0.675 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/0.718, allocations: 120.5 kB / 0.6751 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/0.7312, allocations: 6.625 MB / 0.6816 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.7326, allocations: 151.3 kB / 0.6817 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.7326, allocations: 24 kB / 0.6817 GB, free: 3.496 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real mixed.y:VARIABLE(start = 0.0 protected = true ) type: Real mixed.x:VARIABLE(start = (-mixed.v_0) / mixed.Tfv protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {19 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003395/0.733, allocations: 115.1 kB / 0.6818 GB, free: 3.379 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01075/0.7438, allocations: 3.465 MB / 0.6852 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004299/0.7442, allocations: 94.78 kB / 0.6853 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/0.7548, allocations: 3.5 MB / 0.6887 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.7549, allocations: 8 kB / 0.6887 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.7549, allocations: 3.953 kB / 0.6887 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/0.7549, allocations: 7.969 kB / 0.6887 GB, free: 12.26 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.01255/0.7675, allocations: 4.76 MB / 0.6934 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.7675, allocations: 3.438 kB / 0.6934 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/0.7683, allocations: 115.8 kB / 0.6935 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005247/0.7736, allocations: 1.453 MB / 0.6949 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002127/0.7738, allocations: 4 kB / 0.6949 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/0.7853, allocations: 5.765 MB / 0.7006 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.7854, allocations: 4.125 kB / 0.7006 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/0.7974, allocations: 4.182 MB / 0.7046 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.7979, allocations: 187.7 kB / 0.7048 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.798, allocations: 0 / 0.7048 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000962/0.799, allocations: 107.9 kB / 0.7049 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005099/0.7995, allocations: 168.5 kB / 0.7051 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-05/0.7996, allocations: 20 kB / 0.7051 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005735/0.8002, allocations: 459.1 kB / 0.7055 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8002, allocations: 4 kB / 0.7056 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001152/0.8013, allocations: 335.5 kB / 0.7059 GB, free: 10.46 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * Number of discrete variables: 0 () * Number of discrete 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 (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 {20 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01229/0.8136, allocations: 4.77 MB / 0.7105 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004659/0.8183, allocations: 1.683 MB / 0.7122 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.8184, allocations: 0 / 0.7122 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003682/0.8221, allocations: 1.236 MB / 0.7134 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.823, allocations: 54.47 kB / 0.7134 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.8261, allocations: 1.405 MB / 0.7148 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.8268, allocations: 1.044 MB / 0.7158 GB, free: 156 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003042/0.8271, allocations: 76.88 kB / 0.7159 GB, free: 80 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/0.8276, allocations: 348.1 kB / 0.7162 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of SimCode: time 8.92e-07/0.8276, allocations: 4 kB / 0.7162 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0526/0.8802, allocations: 24.45 MB / 0.7401 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/0.8805, allocations: 134.3 kB / 0.7402 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.507, allocations: 1.859 kB / 0.7402 GB, free: 7.344 MB / 0.5417 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)