Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",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.00114/0.00114, allocations: 180.9 kB / 7.651 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.507/1.507, allocations: 221.5 MB / 229.6 MB, free: 7.602 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.0009189/0.0009188, allocations: 89.84 kB / 280.5 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5484/0.5484, allocations: 78.07 MB / 409.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.055e-05, allocations: 3.938 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1494, allocations: 69.37 MB / 0.5414 GB, free: 6.766 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4493/0.5988, allocations: 98.13 MB / 0.6372 GB, free: 1.289 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004384/0.5993, allocations: 80.31 kB / 0.6373 GB, free: 1.215 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09991/0.6992, allocations: 36.01 MB / 0.6725 GB, free: 13.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.6993, allocations: 4 kB / 0.6725 GB, free: 13.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.254e-05/0.6994, allocations: 20 kB / 0.6725 GB, free: 13.16 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004224/0.7036, allocations: 1.71 MB / 0.6742 GB, free: 11.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.7036, allocations: 8.031 kB / 0.6742 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003331/0.707, allocations: 0.568 MB / 0.6747 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.7085, allocations: 0.7762 MB / 0.6755 GB, free: 9.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.7088, allocations: 247.4 kB / 0.6757 GB, free: 9.707 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.7089, allocations: 47.91 kB / 0.6758 GB, free: 9.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001428/0.7104, allocations: 0.7978 MB / 0.6765 GB, free: 8.863 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.7118, allocations: 0.8251 MB / 0.6773 GB, free: 8.027 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.7119, allocations: 4 kB / 0.6773 GB, free: 8.023 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.513e-05/0.712, allocations: 0 / 0.6773 GB, free: 8.023 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.712, allocations: 23.94 kB / 0.6774 GB, free: 8 MB / 490.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.006537/0.7185, allocations: 3.66 MB / 0.6809 GB, free: 4.172 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007237/0.7258, allocations: 2.614 MB / 0.6835 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/0.7267, allocations: 0.5134 MB / 0.684 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.7268, allocations: 24.77 kB / 0.684 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.7279, allocations: 0.6371 MB / 0.6846 GB, free: 272 kB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.128e-06/0.7279, allocations: 1.5 kB / 0.6846 GB, free: 272 kB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.0122/0.7401, allocations: 3.934 MB / 0.6885 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.7402, allocations: 111.6 kB / 0.6886 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.7417, allocations: 0.8028 MB / 0.6894 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002184/0.7419, allocations: 25.7 kB / 0.6894 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.7423, allocations: 0.5205 MB / 0.6899 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004764/0.7428, allocations: 331 kB / 0.6902 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.091e-05/0.7429, allocations: 0 / 0.6902 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.7431, allocations: 349.9 kB / 0.6906 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007789/0.7439, allocations: 442.6 kB / 0.691 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00084/0.7447, allocations: 0.5575 MB / 0.6915 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008387/0.7456, allocations: 490.2 kB / 0.692 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.7456, allocations: 0 / 0.692 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01226/0.7579, allocations: 3.958 MB / 0.6959 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.24e-05/0.758, allocations: 59.39 kB / 0.6959 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.758, allocations: 8 kB / 0.6959 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005456/0.7635, allocations: 1.499 MB / 0.6974 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.7646, allocations: 191.7 kB / 0.6976 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/0.7784, allocations: 6.547 MB / 0.704 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.7804, allocations: 191 kB / 0.7041 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/0.7806, allocations: 35.98 kB / 0.7042 GB, free: 11.99 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 2 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.000478/0.7811, allocations: 164.4 kB / 0.7043 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01227/0.7934, allocations: 3.93 MB / 0.7082 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005789/0.794, allocations: 122.5 kB / 0.7083 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/0.8063, allocations: 4.039 MB / 0.7122 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.8064, allocations: 12 kB / 0.7122 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.8064, allocations: 4 kB / 0.7123 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.047e-05/0.8065, allocations: 8.641 kB / 0.7123 GB, free: 3.664 MB / 0.5105 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.01478/0.8212, allocations: 5.497 MB / 0.7176 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.8213, allocations: 0 / 0.7176 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/0.822, allocations: 103.9 kB / 0.7177 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004859/0.8269, allocations: 1.466 MB / 0.7192 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/0.8272, allocations: 11.98 kB / 0.7192 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/0.8411, allocations: 7.549 MB / 0.7265 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.8411, allocations: 1.688 kB / 0.7265 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/0.8548, allocations: 4.769 MB / 0.7312 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006633/0.8555, allocations: 227.2 kB / 0.7314 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004517/0.856, allocations: 0 / 0.7314 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/0.8575, allocations: 135.9 kB / 0.7315 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006805/0.8582, allocations: 197 kB / 0.7317 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.8583, allocations: 28 kB / 0.7318 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001167/0.8595, allocations: 0.6136 MB / 0.7324 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.964e-06/0.8595, allocations: 96 / 0.7324 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001997/0.8615, allocations: 399.5 kB / 0.7327 GB, free: 14.29 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0143/0.8758, allocations: 5.427 MB / 0.738 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005246/0.8811, allocations: 1.991 MB / 0.74 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.8812, allocations: 4.125 kB / 0.74 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004024/0.8852, allocations: 1.528 MB / 0.7415 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.8864, allocations: 85.91 kB / 0.7416 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004725/0.8911, allocations: 1.868 MB / 0.7434 GB, free: 3.242 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/0.8919, allocations: 1.143 MB / 0.7445 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004727/0.8924, allocations: 94.69 kB / 0.7446 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006467/0.8931, allocations: 471.2 kB / 0.745 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of SimCode: time 8.01e-07/0.8931, allocations: 4 kB / 0.745 GB, free: 1.512 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3725/1.266, allocations: 28.66 MB / 0.773 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/1.266, allocations: 144 kB / 0.7732 GB, free: 147.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/4.114, allocations: 4.734 kB / 0.7732 GB, free: 147.6 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)