Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.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.Tutorial.Example_4.Experiments.SMIB,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_4_Experiments_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_4_Experiments_SMIB",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.0009236/0.0009236, allocations: 175 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.203/1.203, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0008419/0.0008423, allocations: 88.44 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4432/0.4432, allocations: 78.9 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.285e-05, allocations: 7.984 kB / 492.9 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3431, allocations: 69.5 MB / 0.5492 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.4836, allocations: 120.4 MB / 0.6668 GB, free: 11.16 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.4839, allocations: 91.94 kB / 0.6669 GB, free: 11.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4557/0.9396, allocations: 63.13 MB / 0.7285 GB, free: 81.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.9396, allocations: 4 kB / 0.7285 GB, free: 81.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001436/0.9398, allocations: 52.75 kB / 0.7286 GB, free: 81.83 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: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.005805/0.9456, allocations: 2.586 MB / 0.7311 GB, free: 79.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.9456, allocations: 15.97 kB / 0.7311 GB, free: 79.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002684/0.9459, allocations: 210.9 kB / 0.7313 GB, free: 78.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003485/0.9494, allocations: 0.7462 MB / 0.732 GB, free: 78.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.9519, allocations: 1.623 MB / 0.7336 GB, free: 76.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004486/0.9524, allocations: 0.5744 MB / 0.7342 GB, free: 75.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.9526, allocations: 147.9 kB / 0.7343 GB, free: 75.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.9552, allocations: 1.737 MB / 0.736 GB, free: 73.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.9552, allocations: 0 / 0.736 GB, free: 73.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.9554, allocations: 56 kB / 0.7361 GB, free: 73.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.9554, allocations: 36 kB / 0.7361 GB, free: 73.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.9578, allocations: 1.569 MB / 0.7376 GB, free: 72.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.01173/0.9695, allocations: 7.531 MB / 0.745 GB, free: 64.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008107/0.9776, allocations: 3.811 MB / 0.7487 GB, free: 60.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.9791, allocations: 0.9234 MB / 0.7496 GB, free: 59.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.9792, allocations: 37.2 kB / 0.7497 GB, free: 59.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001537/0.9808, allocations: 1.116 MB / 0.7507 GB, free: 58.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=166): time 2.735e-06/0.9808, allocations: 0 / 0.7507 GB, free: 58.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.01326/0.994, allocations: 5.005 MB / 0.7556 GB, free: 53.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.9941, allocations: 175.5 kB / 0.7558 GB, free: 53.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/0.9969, allocations: 1.843 MB / 0.7576 GB, free: 51.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004002/0.9974, allocations: 57.7 kB / 0.7577 GB, free: 51.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004964/0.9979, allocations: 0.8973 MB / 0.7585 GB, free: 50.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/0.9984, allocations: 0.5775 MB / 0.7591 GB, free: 49.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.9985, allocations: 36 kB / 0.7591 GB, free: 49.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.561e-05/0.9986, allocations: 373.9 kB / 0.7595 GB, free: 49.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.9998, allocations: 0.8085 MB / 0.7603 GB, free: 48.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/1.001, allocations: 1.003 MB / 0.7613 GB, free: 47.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/1.002, allocations: 0.8844 MB / 0.7621 GB, free: 46.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/1.002, allocations: 4 kB / 0.7621 GB, free: 46.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004196/1.007, allocations: 2.747 MB / 0.7648 GB, free: 43.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001899/1.007, allocations: 1.13 MB / 0.7659 GB, free: 42.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.007, allocations: 4 kB / 0.7659 GB, free: 42.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007377/1.014, allocations: 2.694 MB / 0.7685 GB, free: 39.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/1.016, allocations: 271.6 kB / 0.7688 GB, free: 39.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004686/1.02, allocations: 2.796 MB / 0.7715 GB, free: 36.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/1.023, allocations: 366.2 kB / 0.7719 GB, free: 36.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/1.023, allocations: 59.98 kB / 0.7719 GB, free: 36.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.023, allocations: 8 kB / 0.772 GB, free: 36.42 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00384/1.027, allocations: 2.471 MB / 0.7744 GB, free: 33.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.027, allocations: 4 kB / 0.7744 GB, free: 33.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006942/1.034, allocations: 2.617 MB / 0.7769 GB, free: 31.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.035, allocations: 271.6 kB / 0.7772 GB, free: 31.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004074/1.04, allocations: 2.617 MB / 0.7797 GB, free: 28.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/1.042, allocations: 326.3 kB / 0.78 GB, free: 28.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/1.042, allocations: 59.98 kB / 0.7801 GB, free: 28.03 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,genunit.iEEEG1_1.limIntegrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * 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 {30 61} Notification: Performance of prepare postOptimizeDAE: time 0.0003714/1.043, allocations: 184.7 kB / 0.7803 GB, free: 27.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/1.043, allocations: 229.2 kB / 0.7805 GB, free: 27.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.056, allocations: 5.212 MB / 0.7856 GB, free: 22.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/1.056, allocations: 23.98 kB / 0.7856 GB, free: 22.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.056, allocations: 3.938 kB / 0.7856 GB, free: 22.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/1.056, allocations: 7.969 kB / 0.7856 GB, free: 22.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/1.074, allocations: 8.246 MB / 0.7937 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/1.074, allocations: 4 kB / 0.7937 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/1.076, allocations: 251.7 kB / 0.7939 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004909/1.081, allocations: 1.738 MB / 0.7956 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003745/1.081, allocations: 39.98 kB / 0.7957 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/1.096, allocations: 9.578 MB / 0.805 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.096, allocations: 4 kB / 0.805 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/1.112, allocations: 6.464 MB / 0.8113 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.114, allocations: 401.7 kB / 0.8117 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003812/1.114, allocations: 39.94 kB / 0.8117 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/1.116, allocations: 251.8 kB / 0.812 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007933/1.117, allocations: 269.5 kB / 0.8122 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/1.117, allocations: 47.98 kB / 0.8123 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002115/1.119, allocations: 1.406 MB / 0.8137 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.119, allocations: 4 kB / 0.8137 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002427/1.122, allocations: 0.9592 MB / 0.8146 GB, free: 8.152 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 20 (infiniteBus.gENCLS.delta,infiniteBus.gENCLS.omega,infiniteBus.gENCLS.eq,genunit.gENROE.w,genunit.gENROE.delta,genunit.gENROE.Epd,genunit.gENROE.Epq,genunit.gENROE.PSIkd,genunit.gENROE.PSIkq,genunit.iEEEG1_1.imLeadLag.TF.x_scaled[1],genunit.iEEEG1_1.imSimpleLag.state,genunit.iEEEG1_1.imSimpleLag1.state,genunit.iEEEG1_1.imSimpleLag2.state,genunit.iEEEG1_1.imSimpleLag3.state,genunit.iEEEG1_1.limIntegrator.y,genunit.eSST1A1.imDerivativeLag.x,genunit.eSST1A1.imLeadLag.TF.x_scaled[1],genunit.eSST1A1.imLeadLag1.TF.x_scaled[1],genunit.eSST1A1.simpleLagLim.state,genunit.eSST1A1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 116 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,22 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01665/1.138, allocations: 7.205 MB / 0.8216 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.15, allocations: 4.588 MB / 0.8261 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.15, allocations: 8.062 kB / 0.8261 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00487/1.155, allocations: 2.061 MB / 0.8281 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/1.156, allocations: 206.2 kB / 0.8283 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007656/1.164, allocations: 3.937 MB / 0.8322 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009882/1.165, allocations: 1.537 MB / 0.8337 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001632/1.167, allocations: 366.9 kB / 0.834 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009982/1.168, allocations: 0.8546 MB / 0.8349 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/1.168, allocations: 0 / 0.8349 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09999/1.268, allocations: 62.48 MB / 0.8959 GB, free: 5.012 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/1.268, allocations: 184.8 kB / 0.8961 GB, free: 4.785 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.816/5.084, allocations: 0 / 0.8961 GB, free: 4.785 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_4_Experiments_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_4_Experiments_SMIB.fmu > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.pipe 2>&1)