Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",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.000932/0.0009322, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008695/0.0008698, allocations: 93.73 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.437/0.437, allocations: 78.02 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.251e-05/4.265e-05, allocations: 4 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3154, allocations: 69.35 MB / 0.5481 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.4327, allocations: 97.86 MB / 0.6436 GB, free: 2.562 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.4329, allocations: 79.95 kB / 0.6437 GB, free: 2.484 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4385/0.8715, allocations: 60.7 MB / 0.703 GB, free: 99.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.8715, allocations: 0 / 0.703 GB, free: 99.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002075/0.8717, allocations: 54.22 kB / 0.703 GB, free: 99.86 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01229/0.884, allocations: 3.731 MB / 0.7067 GB, free: 98.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.8841, allocations: 15.34 kB / 0.7067 GB, free: 98.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001187/0.8853, allocations: 280.4 kB / 0.707 GB, free: 98.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009843/0.8951, allocations: 1.569 MB / 0.7085 GB, free: 98.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003744/0.8989, allocations: 1.456 MB / 0.7099 GB, free: 96.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006069/0.8996, allocations: 0.6773 MB / 0.7106 GB, free: 96.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008337/0.9004, allocations: 198 kB / 0.7108 GB, free: 96.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005729/0.9062, allocations: 2.408 MB / 0.7131 GB, free: 94.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.972e-05/0.9062, allocations: 0 / 0.7131 GB, free: 94.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004244/0.9067, allocations: 80 kB / 0.7132 GB, free: 94.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/0.9067, allocations: 44 kB / 0.7132 GB, free: 94.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004207/0.9109, allocations: 2.171 MB / 0.7153 GB, free: 92.51 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.01721/0.9282, allocations: 9.609 MB / 0.7247 GB, free: 82.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008645/0.9369, allocations: 4.034 MB / 0.7287 GB, free: 78.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.9391, allocations: 1.434 MB / 0.7301 GB, free: 77.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/0.9395, allocations: 40.62 kB / 0.7301 GB, free: 76.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.9395, allocations: 56.56 kB / 0.7302 GB, free: 76.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 4.819e-06/0.9395, allocations: 0 / 0.7302 GB, free: 76.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=227): time 0.03455/0.9741, allocations: 12.06 MB / 0.7419 GB, free: 64.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.9742, allocations: 128.8 kB / 0.7421 GB, free: 64.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/0.9769, allocations: 1.636 MB / 0.7437 GB, free: 63.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007414/0.9777, allocations: 65.7 kB / 0.7437 GB, free: 62.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007946/0.9785, allocations: 1.122 MB / 0.7448 GB, free: 61.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.9796, allocations: 0.7768 MB / 0.7456 GB, free: 61.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.98, allocations: 40 kB / 0.7456 GB, free: 61.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9801, allocations: 394.1 kB / 0.746 GB, free: 60.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.9821, allocations: 1.145 MB / 0.7471 GB, free: 59.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.9842, allocations: 1.459 MB / 0.7485 GB, free: 57.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.9862, allocations: 1.263 MB / 0.7498 GB, free: 56.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-06/0.9863, allocations: 4 kB / 0.7498 GB, free: 56.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03462/1.021, allocations: 12.21 MB / 0.7617 GB, free: 44.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005093/1.021, allocations: 2.733 MB / 0.7644 GB, free: 41.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/1.021, allocations: 12 kB / 0.7644 GB, free: 41.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01594/1.037, allocations: 5.166 MB / 0.7694 GB, free: 36.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/1.039, allocations: 315.5 kB / 0.7697 GB, free: 35.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04084/1.08, allocations: 17.93 MB / 0.7872 GB, free: 17.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/1.084, allocations: 493.8 kB / 0.7877 GB, free: 17.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005654/1.085, allocations: 71.98 kB / 0.7878 GB, free: 17.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/1.085, allocations: 4 kB / 0.7878 GB, free: 17.35 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0341/1.119, allocations: 11.95 MB / 0.7994 GB, free: 5.398 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/1.119, allocations: 11.98 kB / 0.7995 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01551/1.134, allocations: 5.158 MB / 0.8045 GB, free: 232 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/1.136, allocations: 303.6 kB / 0.8048 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04619/1.182, allocations: 17.94 MB / 0.8223 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/1.186, allocations: 462 kB / 0.8227 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006195/1.187, allocations: 79.97 kB / 0.8228 GB, free: 13.34 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001108/1.188, allocations: 233.4 kB / 0.823 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009824/1.189, allocations: 272.6 kB / 0.8233 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03798/1.227, allocations: 12.38 MB / 0.8354 GB, free: 428 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/1.227, allocations: 24 kB / 0.8354 GB, free: 404 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.04e-05/1.227, allocations: 16 kB / 0.8354 GB, free: 388 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-05/1.227, allocations: 15.95 kB / 0.8354 GB, free: 372 kB / 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.04562/1.273, allocations: 15.88 MB / 0.8509 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.273, allocations: 0 / 0.8509 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/1.275, allocations: 243.7 kB / 0.8512 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0155/1.29, allocations: 4.872 MB / 0.8559 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000702/1.291, allocations: 44 kB / 0.856 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03735/1.328, allocations: 15.36 MB / 0.871 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.328, allocations: 4 kB / 0.871 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04195/1.37, allocations: 14.27 MB / 0.8849 GB, free: 13.38 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.371, allocations: 385 kB / 0.8853 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009701/1.372, allocations: 40 kB / 0.8853 GB, free: 12.94 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003437/1.376, allocations: 363.7 kB / 0.8857 GB, free: 12.59 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002346/1.378, allocations: 0.5408 MB / 0.8862 GB, free: 12.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004543/1.379, allocations: 55.98 kB / 0.8863 GB, free: 11.99 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002234/1.381, allocations: 1.254 MB / 0.8875 GB, free: 10.72 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.41e-07/1.381, allocations: 4 kB / 0.8875 GB, free: 10.71 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005056/1.386, allocations: 1.689 MB / 0.8891 GB, free: 9.023 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3231/1.709, allocations: 15.14 MB / 0.9039 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02738/1.737, allocations: 9.343 MB / 0.913 GB, free: 175.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.737, allocations: 3.375 kB / 0.913 GB, free: 175.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0114/1.748, allocations: 3.893 MB / 0.9168 GB, free: 175.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/1.75, allocations: 187.5 kB / 0.917 GB, free: 175.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.762, allocations: 4.321 MB / 0.9212 GB, free: 174.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.763, allocations: 1.789 MB / 0.923 GB, free: 173.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001859/1.765, allocations: 355.4 kB / 0.9233 GB, free: 173.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.766, allocations: 1.07 MB / 0.9244 GB, free: 173.3 MB / 0.573 GB Notification: Performance of SimCode: time 1.222e-06/1.766, allocations: 0 / 0.9244 GB, free: 173.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1272/1.893, allocations: 96.05 MB / 1.018 GB, free: 94.16 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/1.894, allocations: 185.5 kB / 1.018 GB, free: 93.94 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.084/6.978, allocations: 0 / 1.018 GB, free: 93.94 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)