Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.3 MB / 213.4 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009061/0.0009061, allocations: 92.28 kB / 261.4 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09512/0.09512, allocations: 12.2 MB / 321.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3278/0.3278, allocations: 78.05 MB / 450.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.043e-05, allocations: 0 / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1702, allocations: 69.24 MB / 0.5819 GB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4958/0.6661, allocations: 102.3 MB / 0.6817 GB, free: 6.344 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.6663, allocations: 80.14 kB / 0.6818 GB, free: 6.305 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2326/0.8989, allocations: 95.55 MB / 0.7751 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.863e-06/0.899, allocations: 0 / 0.7751 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002542/0.8993, allocations: 87.94 kB / 0.7752 GB, free: 1.391 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01846/0.9177, allocations: 5.743 MB / 0.7808 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.9178, allocations: 12.03 kB / 0.7808 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/0.9355, allocations: 2.772 MB / 0.7835 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007742/0.9432, allocations: 2.217 MB / 0.7857 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001455/0.9447, allocations: 0.8752 MB / 0.7866 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/0.9467, allocations: 199.9 kB / 0.7867 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007801/0.9545, allocations: 3.435 MB / 0.7901 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006565/0.9611, allocations: 3.578 MB / 0.7936 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.4e-05/0.9612, allocations: 3.953 kB / 0.7936 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003313/0.9615, allocations: 4.938 kB / 0.7936 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.787e-05/0.9616, allocations: 87.94 kB / 0.7937 GB, free: 14.14 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.03672/0.9983, allocations: 18.03 MB / 0.8113 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/1.009, allocations: 4.698 MB / 0.8159 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003579/1.013, allocations: 2.116 MB / 0.818 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004695/1.013, allocations: 66.92 kB / 0.818 GB, free: 3.973 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004105/1.017, allocations: 2.481 MB / 0.8204 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=382): time 7.043e-06/1.017, allocations: 0 / 0.8204 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of matching and sorting (n=382): time 0.05319/1.07, allocations: 17.29 MB / 0.8373 GB, free: 112 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.07, allocations: 145.8 kB / 0.8375 GB, free: 15.94 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004571/1.075, allocations: 2.444 MB / 0.8398 GB, free: 13.48 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001086/1.076, allocations: 25.7 kB / 0.8399 GB, free: 13.45 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00158/1.078, allocations: 1.994 MB / 0.8418 GB, free: 11.44 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001988/1.08, allocations: 1.239 MB / 0.843 GB, free: 10.18 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/1.08, allocations: 0 / 0.843 GB, free: 10.18 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002736/1.08, allocations: 445.7 kB / 0.8435 GB, free: 9.742 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00308/1.083, allocations: 1.761 MB / 0.8452 GB, free: 7.98 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003502/1.087, allocations: 2.317 MB / 0.8474 GB, free: 5.469 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/1.09, allocations: 1.957 MB / 0.8493 GB, free: 3.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/1.09, allocations: 4 kB / 0.8493 GB, free: 3.496 MB / 0.573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05462/1.145, allocations: 17.33 MB / 0.8663 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/1.145, allocations: 75.34 kB / 0.8663 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.356e-05/1.145, allocations: 16 kB / 0.8664 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4851/1.63, allocations: 6.899 MB / 0.8731 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003164/1.633, allocations: 0.5532 MB / 0.8736 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06275/1.696, allocations: 25.25 MB / 0.8983 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00645/1.703, allocations: 0.6315 MB / 0.8989 GB, free: 127 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005783/1.703, allocations: 130.9 kB / 0.899 GB, free: 127 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (329): * Single equations (assignments): 326 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009017/1.704, allocations: 197.3 kB / 0.8992 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04823/1.753, allocations: 17.29 MB / 0.9161 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002737/1.755, allocations: 454.1 kB / 0.9165 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04988/1.805, allocations: 17.74 MB / 0.9339 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.793e-05/1.805, allocations: 36.41 kB / 0.9339 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-05/1.805, allocations: 33.27 kB / 0.9339 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001142/1.805, allocations: 18.98 kB / 0.9339 GB, free: 125.7 MB / 0.5886 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.05743/1.863, allocations: 22.35 MB / 0.9558 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.969e-05/1.863, allocations: 0 / 0.9558 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002445/1.865, allocations: 386.3 kB / 0.9561 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02118/1.887, allocations: 6.974 MB / 0.963 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/1.888, allocations: 20.48 kB / 0.963 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04992/1.938, allocations: 24.15 MB / 0.9866 GB, free: 94.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/1.938, allocations: 0 / 0.9866 GB, free: 94.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05548/1.993, allocations: 20.59 MB / 1.007 GB, free: 77.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002387/1.996, allocations: 0.5586 MB / 1.007 GB, free: 77.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001582/1.997, allocations: 0 / 1.007 GB, free: 77.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004721/2.002, allocations: 442.7 kB / 1.008 GB, free: 76.68 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003145/2.005, allocations: 0.7822 MB / 1.008 GB, free: 76.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003176/2.006, allocations: 91.52 kB / 1.008 GB, free: 76.17 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003082/2.009, allocations: 1.808 MB / 1.01 GB, free: 74.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.21e-07/2.009, allocations: 0 / 1.01 GB, free: 74.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007901/2.017, allocations: 1.585 MB / 1.012 GB, free: 73 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05398/2.071, allocations: 21.26 MB / 1.033 GB, free: 55.48 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02015/2.091, allocations: 7.954 MB / 1.04 GB, free: 48.21 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/2.091, allocations: 4 kB / 1.04 GB, free: 48.21 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01732/2.108, allocations: 5.953 MB / 1.046 GB, free: 42.94 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/2.112, allocations: 241 kB / 1.046 GB, free: 42.71 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/2.127, allocations: 6.215 MB / 1.052 GB, free: 37.18 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/2.129, allocations: 2.534 MB / 1.055 GB, free: 35.29 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001425/2.13, allocations: 294.4 kB / 1.055 GB, free: 35.08 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/2.132, allocations: 1.97 MB / 1.057 GB, free: 33.27 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/2.132, allocations: 0 / 1.057 GB, free: 33.27 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5255/2.658, allocations: 107.1 MB / 1.162 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/2.658, allocations: 142.1 kB / 1.162 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/9.579, allocations: 4 kB / 1.162 GB, free: 128.1 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)