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: translateModel(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB") translateModel(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 173.2 kB / 7.647 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.407/1.407, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0008953/0.0008954, allocations: 92.98 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4871/0.4871, allocations: 78.94 MB / 410.2 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.124e-05/1.125e-05, allocations: 0 / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1532, allocations: 69.52 MB / 0.5424 GB, free: 5.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4883/0.6415, allocations: 119.7 MB / 0.6593 GB, free: 10.38 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.6419, allocations: 92.59 kB / 0.6594 GB, free: 10.29 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1664/0.8083, allocations: 62.38 MB / 0.7204 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.526e-06/0.8084, allocations: 0 / 0.7204 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001713/0.8086, allocations: 47.94 kB / 0.7204 GB, free: 11.82 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.007436/0.816, allocations: 2.582 MB / 0.7229 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.8161, allocations: 8.031 kB / 0.7229 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004595/0.8207, allocations: 0.7384 MB / 0.7237 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00359/0.8243, allocations: 1.635 MB / 0.7253 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006239/0.8249, allocations: 0.512 MB / 0.7258 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/0.8253, allocations: 95.91 kB / 0.7258 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003041/0.8283, allocations: 1.497 MB / 0.7273 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/0.8312, allocations: 1.529 MB / 0.7288 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.8313, allocations: 3.938 kB / 0.7288 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.8315, allocations: 4 kB / 0.7288 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.8315, allocations: 32 kB / 0.7288 GB, free: 2.914 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.01579/0.8473, allocations: 7.256 MB / 0.7359 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009285/0.8566, allocations: 3.746 MB / 0.7396 GB, free: 7.562 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.8584, allocations: 0.8804 MB / 0.7404 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.8585, allocations: 41.2 kB / 0.7405 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/0.8603, allocations: 1.059 MB / 0.7415 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=166): time 3.406e-06/0.8603, allocations: 4 kB / 0.7415 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of matching and sorting (n=166): time 0.01519/0.8755, allocations: 4.9 MB / 0.7463 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.8757, allocations: 173.1 kB / 0.7465 GB, free: 448 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003327/0.879, allocations: 1.64 MB / 0.7481 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004998/0.8795, allocations: 25.7 kB / 0.7481 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008084/0.8803, allocations: 0.9081 MB / 0.749 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008562/0.8812, allocations: 0.5619 MB / 0.7495 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.8813, allocations: 0 / 0.7495 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.8815, allocations: 373.9 kB / 0.7499 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.883, allocations: 0.7695 MB / 0.7506 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.8845, allocations: 0.9597 MB / 0.7516 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.8862, allocations: 0.8532 MB / 0.7524 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.8862, allocations: 0 / 0.7524 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.005466/0.8917, allocations: 2.623 MB / 0.755 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005384/0.8922, allocations: 1.115 MB / 0.7561 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.8922, allocations: 4 kB / 0.7561 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007607/0.8999, allocations: 2.333 MB / 0.7583 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.9014, allocations: 267.6 kB / 0.7586 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005868/0.9072, allocations: 2.999 MB / 0.7615 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003137/0.9104, allocations: 308.3 kB / 0.7618 GB, free: 464 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/0.9106, allocations: 63.98 kB / 0.7619 GB, free: 400 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.9107, allocations: 4 kB / 0.7619 GB, free: 396 kB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3263/1.237, allocations: 2.307 MB / 0.7641 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.237, allocations: 3.812 kB / 0.7641 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006902/1.244, allocations: 2.254 MB / 0.7663 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/1.245, allocations: 263.6 kB / 0.7666 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/1.25, allocations: 2.801 MB / 0.7693 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/1.253, allocations: 276 kB / 0.7696 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/1.254, allocations: 58.27 kB / 0.7696 GB, free: 123 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.0004493/1.254, allocations: 137.5 kB / 0.7698 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006175/1.255, allocations: 221.4 kB / 0.77 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/1.269, allocations: 5.053 MB / 0.7749 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.525e-05/1.269, allocations: 18.06 kB / 0.7749 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.269, allocations: 3.422 kB / 0.7749 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.791e-05/1.269, allocations: 10.84 kB / 0.775 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/1.289, allocations: 7.933 MB / 0.7827 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/1.289, allocations: 0 / 0.7827 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/1.291, allocations: 250.4 kB / 0.7829 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00591/1.296, allocations: 1.729 MB / 0.7846 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005093/1.297, allocations: 19.5 kB / 0.7846 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/1.315, allocations: 9.402 MB / 0.7938 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.315, allocations: 5.594 kB / 0.7938 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01808/1.333, allocations: 6.317 MB / 0.8 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/1.335, allocations: 386.7 kB / 0.8004 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005405/1.335, allocations: 11 kB / 0.8004 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/1.337, allocations: 224.3 kB / 0.8006 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000893/1.338, allocations: 277.8 kB / 0.8009 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.338, allocations: 47.09 kB / 0.8009 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002061/1.34, allocations: 1.227 MB / 0.8021 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/1.34, allocations: 0 / 0.8021 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00366/1.344, allocations: 0.8737 MB / 0.803 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.00084/1.345, allocations: 234.3 kB / 0.8032 GB, free: 118 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01319/1.358, allocations: 4.435 MB / 0.8075 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.358, allocations: 1.438 kB / 0.8075 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005435/1.364, allocations: 1.99 MB / 0.8095 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/1.366, allocations: 174 kB / 0.8096 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006674/1.372, allocations: 3.451 MB / 0.813 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/1.374, allocations: 1.528 MB / 0.8145 GB, free: 115 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001961/1.376, allocations: 359.5 kB / 0.8148 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/1.376, allocations: 89.12 kB / 0.8149 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.173e-06/1.376, allocations: 0 / 0.8149 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.0606/1.437, allocations: 38.2 MB / 0.8522 GB, free: 113.2 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.pipe 2>&1)