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.001416/0.001416, allocations: 180.9 kB / 7.651 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.385/1.385, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0008657/0.0008657, allocations: 88.06 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4831/0.4831, allocations: 78.94 MB / 410.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.307e-05, allocations: 4 kB / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1474, allocations: 69.52 MB / 0.5425 GB, free: 5.805 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.5704, allocations: 119.7 MB / 0.6594 GB, free: 10.22 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.5708, allocations: 93.06 kB / 0.6595 GB, free: 10.13 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1776/0.7485, allocations: 62.38 MB / 0.7204 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7485, allocations: 3.938 kB / 0.7204 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003316/0.7489, allocations: 47.98 kB / 0.7205 GB, free: 11.64 MB / 0.5261 GB 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.009066/0.758, allocations: 2.579 MB / 0.723 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.758, allocations: 14.84 kB / 0.723 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005054/0.7631, allocations: 0.7423 MB / 0.7238 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005003/0.7681, allocations: 1.631 MB / 0.7253 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007459/0.7689, allocations: 0.512 MB / 0.7258 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007978/0.7698, allocations: 95.89 kB / 0.7259 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004024/0.7738, allocations: 1.501 MB / 0.7274 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00448/0.7783, allocations: 1.525 MB / 0.7289 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.773e-05/0.7784, allocations: 0 / 0.7289 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.7788, allocations: 0 / 0.7289 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.258e-05/0.7788, allocations: 38.25 kB / 0.7289 GB, free: 2.738 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.01902/0.7979, allocations: 7.262 MB / 0.736 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009854/0.8078, allocations: 3.743 MB / 0.7397 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/0.8098, allocations: 0.8804 MB / 0.7405 GB, free: 6.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.8102, allocations: 29.28 kB / 0.7406 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002528/0.8127, allocations: 1.066 MB / 0.7416 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=166): time 6.983e-06/0.8127, allocations: 0 / 0.7416 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of matching and sorting (n=166): time 0.01664/0.8294, allocations: 4.908 MB / 0.7464 GB, free: 476 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.528e-05/0.8295, allocations: 171.5 kB / 0.7466 GB, free: 264 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/0.8337, allocations: 1.64 MB / 0.7482 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004972/0.8342, allocations: 25.7 kB / 0.7482 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009984/0.8352, allocations: 0.9081 MB / 0.7491 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001143/0.8364, allocations: 0.5619 MB / 0.7496 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/0.8368, allocations: 0 / 0.7496 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002564/0.8371, allocations: 373.9 kB / 0.75 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.8389, allocations: 0.7656 MB / 0.7507 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.8408, allocations: 0.9675 MB / 0.7517 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.8428, allocations: 0.8454 MB / 0.7525 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.8429, allocations: 4 kB / 0.7525 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.006557/0.8494, allocations: 2.621 MB / 0.7551 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004932/0.85, allocations: 1.119 MB / 0.7562 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.85, allocations: 7.188 kB / 0.7562 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007941/0.8579, allocations: 2.327 MB / 0.7584 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.8596, allocations: 271.6 kB / 0.7587 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006867/0.8665, allocations: 3.003 MB / 0.7616 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003239/0.8697, allocations: 302.4 kB / 0.7619 GB, free: 280 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004939/0.8703, allocations: 71.97 kB / 0.762 GB, free: 208 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.8703, allocations: 5.094 kB / 0.762 GB, free: 204 kB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3288/1.199, allocations: 2.302 MB / 0.7642 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.199, allocations: 2.875 kB / 0.7642 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006817/1.206, allocations: 2.256 MB / 0.7664 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/1.207, allocations: 261 kB / 0.7667 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005008/1.212, allocations: 2.803 MB / 0.7694 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/1.215, allocations: 276.8 kB / 0.7697 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/1.216, allocations: 61.31 kB / 0.7697 GB, free: 123.3 MB / 0.5573 GB 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 (130): * Single equations (assignments): 129 * 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.0004603/1.216, allocations: 133.7 kB / 0.7699 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0141/1.23, allocations: 4.902 MB / 0.7747 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/1.232, allocations: 218 kB / 0.7749 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/1.246, allocations: 5.056 MB / 0.7798 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/1.246, allocations: 21.44 kB / 0.7798 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.246, allocations: 0.6875 kB / 0.7798 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.266e-05/1.246, allocations: 7.797 kB / 0.7798 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02013/1.266, allocations: 7.927 MB / 0.7876 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/1.267, allocations: 0 / 0.7876 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/1.268, allocations: 247.8 kB / 0.7878 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005643/1.274, allocations: 1.729 MB / 0.7895 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005192/1.274, allocations: 21.31 kB / 0.7895 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/1.292, allocations: 9.403 MB / 0.7987 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.292, allocations: 0 / 0.7987 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01926/1.311, allocations: 6.328 MB / 0.8049 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.312, allocations: 384.5 kB / 0.8052 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007258/1.313, allocations: 9.75 kB / 0.8053 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/1.316, allocations: 230.8 kB / 0.8055 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/1.317, allocations: 274.2 kB / 0.8057 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001689/1.317, allocations: 47.39 kB / 0.8058 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0024/1.32, allocations: 1.231 MB / 0.807 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.91e-07/1.32, allocations: 0 / 0.807 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004499/1.324, allocations: 0.8784 MB / 0.8078 GB, free: 118.1 MB / 0.5573 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.01798/1.342, allocations: 7.011 MB / 0.8147 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01211/1.354, allocations: 4.442 MB / 0.819 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/1.354, allocations: 4.125 kB / 0.819 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004777/1.359, allocations: 1.992 MB / 0.821 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/1.361, allocations: 165 kB / 0.8211 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007534/1.368, allocations: 3.773 MB / 0.8248 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009356/1.369, allocations: 1.532 MB / 0.8263 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001754/1.371, allocations: 361.2 kB / 0.8267 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009894/1.372, allocations: 0.8542 MB / 0.8275 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.874e-06/1.372, allocations: 0 / 0.8275 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08807/1.46, allocations: 56.57 MB / 0.8827 GB, free: 84.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001251/1.46, allocations: 141.7 kB / 0.8829 GB, free: 84.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.112/5.572, allocations: 0 / 0.8829 GB, free: 84.62 MB / 0.5573 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)