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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002441/0.00244, allocations: 179.6 kB / 7.458 MB, free: 2.5 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.273/1.273, allocations: 221.4 MB / 229.3 MB, free: 3.035 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.0009452/0.0009451, allocations: 93.19 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4838/0.4838, allocations: 78.92 MB / 409.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1751/0.6589, allocations: 75.66 MB / 485.5 MB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/1.056, allocations: 69.5 MB / 0.542 GB, free: 20.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/1.205, allocations: 119.6 MB / 0.6588 GB, free: 188 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.205, allocations: 87.94 kB / 0.6589 GB, free: 100 kB / 474.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.4109/1.616, allocations: 64.82 MB / 0.7222 GB, free: 88.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.616, allocations: 8 kB / 0.7222 GB, free: 88.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/1.619, allocations: 0.594 MB / 0.7228 GB, free: 87.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/1.623, allocations: 1.583 MB / 0.7243 GB, free: 85.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004722/1.623, allocations: 0.5159 MB / 0.7248 GB, free: 85.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/1.623, allocations: 95.91 kB / 0.7249 GB, free: 85.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002603/1.626, allocations: 1.501 MB / 0.7264 GB, free: 83.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/1.629, allocations: 1.529 MB / 0.7279 GB, free: 82.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/1.629, allocations: 0 / 0.7279 GB, free: 82.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/1.629, allocations: 0 / 0.7279 GB, free: 82.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/1.629, allocations: 36 kB / 0.7279 GB, free: 82.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/1.641, allocations: 7.135 MB / 0.7349 GB, free: 74.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/1.643, allocations: 1.224 MB / 0.7361 GB, free: 73.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/1.644, allocations: 0.8766 MB / 0.7369 GB, free: 72.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/1.645, allocations: 33.03 kB / 0.737 GB, free: 72.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/1.646, allocations: 1.051 MB / 0.738 GB, free: 71.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=166): time 3.607e-06/1.646, allocations: 0 / 0.738 GB, free: 71.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.01455/1.661, allocations: 5.166 MB / 0.743 GB, free: 66.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/1.661, allocations: 171.6 kB / 0.7432 GB, free: 66.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003089/1.664, allocations: 1.575 MB / 0.7447 GB, free: 64.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005116/1.664, allocations: 25.7 kB / 0.7448 GB, free: 64.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/1.665, allocations: 0.5213 MB / 0.7453 GB, free: 63.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009957/1.666, allocations: 0.558 MB / 0.7458 GB, free: 63.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/1.666, allocations: 0 / 0.7458 GB, free: 63.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/1.666, allocations: 365.9 kB / 0.7462 GB, free: 63.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/1.667, allocations: 0.7812 MB / 0.7469 GB, free: 62.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/1.669, allocations: 0.9675 MB / 0.7479 GB, free: 61.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/1.67, allocations: 0.861 MB / 0.7487 GB, free: 60.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/1.67, allocations: 4 kB / 0.7487 GB, free: 60.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.004683/1.675, allocations: 2.666 MB / 0.7513 GB, free: 57.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001924/1.675, allocations: 1.113 MB / 0.7524 GB, free: 56.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.675, allocations: 4 kB / 0.7524 GB, free: 56.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007235/1.682, allocations: 2.401 MB / 0.7547 GB, free: 54.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/1.684, allocations: 279.6 kB / 0.755 GB, free: 53.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005897/1.69, allocations: 3.154 MB / 0.7581 GB, free: 50.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003065/1.693, allocations: 318.4 kB / 0.7584 GB, free: 50.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/1.693, allocations: 59.98 kB / 0.7585 GB, free: 50.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/1.693, allocations: 8 kB / 0.7585 GB, free: 50.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004168/1.697, allocations: 2.346 MB / 0.7608 GB, free: 47.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.697, allocations: 4 kB / 0.7608 GB, free: 47.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007104/1.704, allocations: 2.323 MB / 0.763 GB, free: 45.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/1.706, allocations: 275.6 kB / 0.7633 GB, free: 45.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005324/1.711, allocations: 2.92 MB / 0.7661 GB, free: 42.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/1.715, allocations: 282.6 kB / 0.7664 GB, free: 42.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004386/1.715, allocations: 63.97 kB / 0.7665 GB, free: 42.02 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 (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.0005792/1.716, allocations: 128.5 kB / 0.7666 GB, free: 41.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009657/1.717, allocations: 217.3 kB / 0.7668 GB, free: 41.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/1.731, allocations: 5.314 MB / 0.772 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/1.731, allocations: 20 kB / 0.772 GB, free: 36.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/1.731, allocations: 3.938 kB / 0.772 GB, free: 36.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.27e-05/1.731, allocations: 7.969 kB / 0.772 GB, free: 36.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/1.749, allocations: 7.951 MB / 0.7798 GB, free: 28.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.749, allocations: 0 / 0.7798 GB, free: 28.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/1.75, allocations: 251.7 kB / 0.78 GB, free: 28.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005188/1.756, allocations: 1.785 MB / 0.7818 GB, free: 26.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003123/1.756, allocations: 19.98 kB / 0.7818 GB, free: 26.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/1.772, allocations: 8.833 MB / 0.7904 GB, free: 17.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.772, allocations: 4 kB / 0.7904 GB, free: 17.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01739/1.789, allocations: 6.569 MB / 0.7968 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01845/1.808, allocations: 8.186 MB / 0.8048 GB, free: 2.406 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.809, allocations: 369.9 kB / 0.8052 GB, free: 2.023 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005444/1.81, allocations: 11.98 kB / 0.8052 GB, free: 2.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/1.812, allocations: 239.8 kB / 0.8054 GB, free: 1.777 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004942/1.813, allocations: 165.7 kB / 0.8056 GB, free: 1.617 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/1.813, allocations: 43.98 kB / 0.8056 GB, free: 1.574 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001948/1.815, allocations: 1.179 MB / 0.8068 GB, free: 384 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.004358/1.819, allocations: 0.8962 MB / 0.8076 GB, free: 15.47 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.0006087/1.82, allocations: 242.3 kB / 0.8079 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01302/1.833, allocations: 4.64 MB / 0.8124 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.833, allocations: 0 / 0.8124 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005387/1.838, allocations: 1.952 MB / 0.8143 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/1.84, allocations: 173.4 kB / 0.8145 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008545/1.849, allocations: 3.547 MB / 0.8179 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.851, allocations: 1.71 MB / 0.8196 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/1.851, allocations: 0 / 0.8196 GB, free: 3.109 MB / 0.4948 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)