Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.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.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",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.001419/0.001419, allocations: 173.9 kB / 7.648 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.219/1.219, allocations: 221.5 MB / 229.6 MB, free: 3.184 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.0008443/0.0008443, allocations: 93.78 kB / 280.5 MB, free: 1.148 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4332/0.4332, allocations: 78.95 MB / 410.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.807e-05/1.808e-05, allocations: 3.938 kB / 486 MB, free: 3.168 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.316, allocations: 69.5 MB / 0.5425 GB, free: 21.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.4352, allocations: 102.4 MB / 0.6425 GB, free: 1.375 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.4355, allocations: 75.95 kB / 0.6426 GB, free: 1.301 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4855/0.921, allocations: 72.18 MB / 0.7131 GB, free: 38.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.9211, allocations: 0 / 0.7131 GB, free: 38.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003192/0.9214, allocations: 58.81 kB / 0.7131 GB, free: 38.21 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: 457 * Number of variables: 457 Notification: Performance of Generate backend data structure: time 0.009621/0.931, allocations: 3.342 MB / 0.7164 GB, free: 36.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.9311, allocations: 11.72 kB / 0.7164 GB, free: 36.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007122/0.9382, allocations: 1.183 MB / 0.7175 GB, free: 36.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004199/0.9424, allocations: 1.718 MB / 0.7192 GB, free: 36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004179/0.9429, allocations: 410.7 kB / 0.7196 GB, free: 35.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006967/0.9436, allocations: 116.1 kB / 0.7197 GB, free: 35.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003709/0.9473, allocations: 1.869 MB / 0.7215 GB, free: 35.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003599/0.9509, allocations: 1.882 MB / 0.7234 GB, free: 35.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.951, allocations: 3.906 kB / 0.7234 GB, free: 35.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.9512, allocations: 7.797 kB / 0.7234 GB, free: 35.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.9512, allocations: 46.97 kB / 0.7234 GB, free: 35.53 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.01366/0.9649, allocations: 8.658 MB / 0.7319 GB, free: 33.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008157/0.973, allocations: 4.472 MB / 0.7363 GB, free: 31.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00177/0.9749, allocations: 1.244 MB / 0.7375 GB, free: 31.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.9751, allocations: 40.12 kB / 0.7375 GB, free: 31.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001979/0.977, allocations: 1.462 MB / 0.7389 GB, free: 31.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 3.917e-06/0.9771, allocations: 0 / 0.7389 GB, free: 31.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.01937/0.9964, allocations: 7.097 MB / 0.7459 GB, free: 31.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.9965, allocations: 234.6 kB / 0.7461 GB, free: 30.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/0.9991, allocations: 1.862 MB / 0.7479 GB, free: 30.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004696/0.9996, allocations: 29.27 kB / 0.7479 GB, free: 30.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006164/1, allocations: 1.147 MB / 0.7491 GB, free: 30.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006176/1.001, allocations: 0.7999 MB / 0.7498 GB, free: 29.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/1.001, allocations: 0 / 0.7498 GB, free: 29.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/1.001, allocations: 400.8 kB / 0.7502 GB, free: 29.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/1.003, allocations: 1.006 MB / 0.7512 GB, free: 29.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/1.004, allocations: 1.257 MB / 0.7524 GB, free: 29.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/1.005, allocations: 1.127 MB / 0.7535 GB, free: 29.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/1.005, allocations: 6.5 kB / 0.7535 GB, free: 29.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01605/1.022, allocations: 6.407 MB / 0.7598 GB, free: 27.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.949e-05/1.022, allocations: 172.5 kB / 0.76 GB, free: 27.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.022, allocations: 3.531 kB / 0.76 GB, free: 27.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009/1.031, allocations: 2.704 MB / 0.7626 GB, free: 26.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/1.033, allocations: 468.5 kB / 0.7631 GB, free: 26.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02194/1.055, allocations: 16.11 MB / 0.7788 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/1.059, allocations: 362 kB / 0.7791 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004029/1.059, allocations: 87.97 kB / 0.7792 GB, free: 12.63 MB / 490.7 MB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {4 2,30 32,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005862/1.06, allocations: 253.6 kB / 0.7795 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0195/1.079, allocations: 7.103 MB / 0.7864 GB, free: 5.238 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/1.081, allocations: 292.3 kB / 0.7867 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02024/1.101, allocations: 7.379 MB / 0.7939 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/1.101, allocations: 27.98 kB / 0.7939 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.101, allocations: 7.891 kB / 0.7939 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-05/1.101, allocations: 11.95 kB / 0.7939 GB, free: 13.49 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.02582/1.127, allocations: 11.02 MB / 0.8047 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/1.127, allocations: 8.094 kB / 0.8047 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/1.129, allocations: 227.7 kB / 0.8049 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01082/1.14, allocations: 3.234 MB / 0.8081 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005955/1.14, allocations: 19.98 kB / 0.8081 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03123/1.171, allocations: 16.98 MB / 0.8247 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.171, allocations: 8 kB / 0.8247 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02528/1.197, allocations: 8.955 MB / 0.8334 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/1.198, allocations: 444.8 kB / 0.8339 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007473/1.199, allocations: 11.98 kB / 0.8339 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/1.202, allocations: 243.9 kB / 0.8341 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001271/1.203, allocations: 378.1 kB / 0.8345 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/1.203, allocations: 67.98 kB / 0.8345 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002135/1.205, allocations: 1.387 MB / 0.8359 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/1.205, allocations: 4 kB / 0.8359 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003054/1.208, allocations: 0.8464 MB / 0.8367 GB, free: 0.9727 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {41 45,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02408/1.233, allocations: 9.749 MB / 0.8462 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.243, allocations: 4.804 MB / 0.8509 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.243, allocations: 4 kB / 0.8509 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007873/1.251, allocations: 3.345 MB / 0.8542 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/1.253, allocations: 219 kB / 0.8544 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/1.263, allocations: 4.642 MB / 0.8589 GB, free: 9.836 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.265, allocations: 1.833 MB / 0.8607 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001102/1.266, allocations: 219.5 kB / 0.8609 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.267, allocations: 1.155 MB / 0.8621 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/1.267, allocations: 0 / 0.8621 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3937/1.661, allocations: 67.98 MB / 0.9285 GB, free: 173 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/1.661, allocations: 119.4 kB / 0.9286 GB, free: 172.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.743/6.405, allocations: 3.938 kB / 0.9286 GB, free: 172.8 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses.fmu > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)