Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.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.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_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 4.0.0+maint.om/package.mo): time 0.0009648/0.000965, allocations: 174.1 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.288/1.288, 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.0008592/0.0008592, allocations: 94.83 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4918/0.4918, allocations: 78.09 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.457e-05, allocations: 4 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3567, allocations: 69.35 MB / 0.5481 GB, free: 20.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4817, allocations: 101.4 MB / 0.6471 GB, free: 15.15 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.482, allocations: 79.95 kB / 0.6472 GB, free: 15.07 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5634/1.045, allocations: 99.92 MB / 0.7448 GB, free: 63.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/1.045, allocations: 0 / 0.7448 GB, free: 63.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000389/1.046, allocations: 84 kB / 0.7448 GB, free: 63.08 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01868/1.065, allocations: 5.752 MB / 0.7505 GB, free: 57.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.065, allocations: 11.97 kB / 0.7505 GB, free: 57.24 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001852/1.066, allocations: 492.8 kB / 0.7509 GB, free: 56.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01751/1.084, allocations: 2.783 MB / 0.7537 GB, free: 53.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005948/1.09, allocations: 2.214 MB / 0.7558 GB, free: 51.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008768/1.091, allocations: 0.9924 MB / 0.7568 GB, free: 50.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001288/1.092, allocations: 344 kB / 0.7571 GB, free: 50.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/1.102, allocations: 4.08 MB / 0.7611 GB, free: 46.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.035e-05/1.102, allocations: 0 / 0.7611 GB, free: 46.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007848/1.103, allocations: 140 kB / 0.7612 GB, free: 45.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.162e-05/1.103, allocations: 87.94 kB / 0.7613 GB, free: 45.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007815/1.111, allocations: 3.617 MB / 0.7648 GB, free: 42.25 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.0368/1.148, allocations: 18.57 MB / 0.783 GB, free: 22.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/1.159, allocations: 4.79 MB / 0.7877 GB, free: 17.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003943/1.163, allocations: 2.221 MB / 0.7898 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006243/1.163, allocations: 74.91 kB / 0.7899 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00486/1.168, allocations: 2.592 MB / 0.7924 GB, free: 12.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 6.772e-06/1.168, allocations: 0 / 0.7924 GB, free: 12.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.05135/1.219, allocations: 17.59 MB / 0.8096 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/1.22, allocations: 141.8 kB / 0.8098 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004163/1.224, allocations: 2.646 MB / 0.8123 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008547/1.225, allocations: 85.7 kB / 0.8124 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001458/1.226, allocations: 1.998 MB / 0.8144 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001826/1.228, allocations: 1.305 MB / 0.8156 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/1.228, allocations: 72 kB / 0.8157 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002619/1.229, allocations: 449.7 kB / 0.8161 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00334/1.232, allocations: 1.835 MB / 0.8179 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003725/1.236, allocations: 2.414 MB / 0.8203 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/1.239, allocations: 2.08 MB / 0.8223 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/1.239, allocations: 4 kB / 0.8223 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05378/1.293, allocations: 17.74 MB / 0.8396 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.826e-05/1.293, allocations: 67.39 kB / 0.8397 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/1.293, allocations: 16 kB / 0.8397 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02449/1.318, allocations: 6.973 MB / 0.8465 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003038/1.321, allocations: 0.5539 MB / 0.8471 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06204/1.383, allocations: 25.78 MB / 0.8723 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007652/1.391, allocations: 0.7035 MB / 0.8729 GB, free: 9.598 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001629/1.392, allocations: 131.9 kB / 0.8731 GB, free: 9.469 MB / 0.5573 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.002228/1.395, allocations: 334.9 kB / 0.8734 GB, free: 9.129 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002372/1.397, allocations: 458.3 kB / 0.8738 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0881/1.485, allocations: 18.12 MB / 0.8915 GB, free: 6.484 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-05/1.485, allocations: 36 kB / 0.8916 GB, free: 6.449 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.599e-05/1.485, allocations: 28 kB / 0.8916 GB, free: 6.422 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001541/1.485, allocations: 19.92 kB / 0.8916 GB, free: 6.402 MB / 0.573 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.4782/1.964, allocations: 23.07 MB / 0.9141 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/1.964, allocations: 3.938 kB / 0.9141 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/1.966, allocations: 389.4 kB / 0.9145 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02261/1.989, allocations: 7.035 MB / 0.9214 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001069/1.99, allocations: 71.02 kB / 0.9214 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05276/2.043, allocations: 24.49 MB / 0.9454 GB, free: 133.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/2.043, allocations: 5.094 kB / 0.9454 GB, free: 133.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05736/2.1, allocations: 20.95 MB / 0.9658 GB, free: 123.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/2.102, allocations: 0.5522 MB / 0.9664 GB, free: 123 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/2.103, allocations: 64.84 kB / 0.9664 GB, free: 123 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006255/2.109, allocations: 495.8 kB / 0.9669 GB, free: 122.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004423/2.113, allocations: 0.7816 MB / 0.9677 GB, free: 122.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008281/2.114, allocations: 99.19 kB / 0.9677 GB, free: 122.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003368/2.118, allocations: 2.004 MB / 0.9697 GB, free: 120.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.01e-07/2.118, allocations: 0 / 0.9697 GB, free: 120.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006583/2.124, allocations: 1.76 MB / 0.9714 GB, free: 118.5 MB / 0.573 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.05629/2.181, allocations: 21.68 MB / 0.9926 GB, free: 100.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02203/2.203, allocations: 8.219 MB / 1.001 GB, free: 93.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.465e-06/2.203, allocations: 3.609 kB / 1.001 GB, free: 93.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01775/2.221, allocations: 6.103 MB / 1.007 GB, free: 87.79 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/2.224, allocations: 298.2 kB / 1.007 GB, free: 87.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/2.239, allocations: 6.486 MB / 1.013 GB, free: 81.69 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/2.24, allocations: 2.537 MB / 1.016 GB, free: 79.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001423/2.242, allocations: 293.1 kB / 1.016 GB, free: 79.59 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/2.244, allocations: 1.968 MB / 1.018 GB, free: 77.79 MB / 0.573 GB Notification: Performance of SimCode: time 7.62e-07/2.244, allocations: 0 / 1.018 GB, free: 77.79 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4842/2.728, allocations: 113.3 MB / 1.129 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/2.728, allocations: 190.8 kB / 1.129 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.536/9.264, allocations: 4.484 kB / 1.129 GB, free: 155.9 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)