Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009085/0.0009085, allocations: 109.3 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009627/0.0009627, allocations: 213.7 kB / 22.25 MB, free: 3.699 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9592/0.9592, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7693/0.7693, allocations: 203.8 MB / 0.5042 GB, free: 10.78 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 60.75 kB / 0.7182 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4828, allocations: 102 MB / 0.8178 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002441/0.4852, allocations: 2.385 MB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009113/0.4861, allocations: 0.8786 MB / 0.821 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.379e-05/0.4862, allocations: 2.656 kB / 0.821 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.4867, allocations: 151.8 kB / 0.8212 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.4868, allocations: 65.11 kB / 0.8212 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.4869, allocations: 63.84 kB / 0.8213 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.4871, allocations: 165 kB / 0.8214 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.4873, allocations: 85.47 kB / 0.8215 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.4874, allocations: 85.12 kB / 0.8216 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.4875, allocations: 69.08 kB / 0.8217 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.4876, allocations: 12.12 kB / 0.8217 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/0.4877, allocations: 62.16 kB / 0.8217 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.4877, allocations: 38.73 kB / 0.8218 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.4878, allocations: 63.19 kB / 0.8218 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.488, allocations: 179.1 kB / 0.822 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.488, allocations: 4.703 kB / 0.822 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.488, allocations: 2.344 kB / 0.822 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.488, allocations: 0 / 0.822 GB, free: 14.53 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000511/0.4885, allocations: 432.8 kB / 0.8224 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.4885, allocations: 10.66 kB / 0.8224 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.4886, allocations: 43.23 kB / 0.8225 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.4887, allocations: 36.59 kB / 0.8225 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.4889, allocations: 154.2 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.489, allocations: 64.2 kB / 0.8227 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.489, allocations: 12.22 kB / 0.8227 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.4892, allocations: 150.1 kB / 0.8229 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4892, allocations: 1.766 kB / 0.8229 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.4892, allocations: 3.406 kB / 0.8229 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.4892, allocations: 4.281 kB / 0.8229 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.4894, allocations: 94.36 kB / 0.823 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005638/0.4899, allocations: 0.6062 MB / 0.8236 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.4901, allocations: 51.22 kB / 0.8236 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.4901, allocations: 26.52 kB / 0.8236 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.4901, allocations: 9.391 kB / 0.8237 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.4903, allocations: 148.4 kB / 0.8238 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4903, allocations: 1.281 kB / 0.8238 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002393/0.4905, allocations: 167.2 kB / 0.824 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.4906, allocations: 131.5 kB / 0.8241 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.4907, allocations: 193.2 kB / 0.8243 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.4907, allocations: 35.3 kB / 0.8243 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.4908, allocations: 139.6 kB / 0.8244 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.4908, allocations: 17.84 kB / 0.8245 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.4908, allocations: 43.14 kB / 0.8245 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.4909, allocations: 321.5 kB / 0.8248 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.491, allocations: 38.64 kB / 0.8248 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.49e-05/0.491, allocations: 113.1 kB / 0.8249 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.4912, allocations: 229.5 kB / 0.8252 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4912, allocations: 1.125 kB / 0.8252 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002282/0.4914, allocations: 247.3 kB / 0.8254 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.4915, allocations: 64.97 kB / 0.8255 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4915, allocations: 3.734 kB / 0.8255 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.4915, allocations: 2.844 kB / 0.8255 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.4916, allocations: 31.38 kB / 0.8255 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4916, allocations: 5.188 kB / 0.8255 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.498e-05/0.4916, allocations: 28.69 kB / 0.8255 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.4916, allocations: 8.219 kB / 0.8255 GB, free: 11.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.391e-05/0.4917, allocations: 167.6 kB / 0.8257 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.4918, allocations: 19 kB / 0.8257 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.4918, allocations: 15.92 kB / 0.8257 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.4918, allocations: 0 / 0.8257 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4918, allocations: 2.234 kB / 0.8257 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4918, allocations: 4 kB / 0.8257 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.4919, allocations: 189.1 kB / 0.8259 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4919, allocations: 7.938 kB / 0.8259 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.492, allocations: 10.39 kB / 0.8259 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.492, allocations: 1.812 kB / 0.8259 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.492, allocations: 2.531 kB / 0.8259 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.492, allocations: 0.6094 kB / 0.8259 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.492, allocations: 3.938 kB / 0.8259 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.4922, allocations: 216.5 kB / 0.8262 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.4922, allocations: 12.66 kB / 0.8262 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.4923, allocations: 11.56 kB / 0.8262 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.25e-05/0.4923, allocations: 8.891 kB / 0.8262 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.4924, allocations: 11.55 kB / 0.8262 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.4924, allocations: 2.578 kB / 0.8262 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.832e-05/0.4924, allocations: 134.4 kB / 0.8263 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4924, allocations: 64 / 0.8263 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001649/0.4926, allocations: 35.08 kB / 0.8264 GB, free: 10.86 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003917/0.493, allocations: 0.7505 MB / 0.8271 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.4932, allocations: 211.4 kB / 0.8273 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.4932, allocations: 0 / 0.8273 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.4933, allocations: 90.14 kB / 0.8274 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.4934, allocations: 19.34 kB / 0.8274 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.4949, allocations: 1.982 MB / 0.8293 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.4951, allocations: 0.7152 MB / 0.83 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.715e-05/0.4952, allocations: 21.97 kB / 0.8301 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.4952, allocations: 40.88 kB / 0.8301 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.4952, allocations: 3.656 kB / 0.8301 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.5127, allocations: 3.366 MB / 0.8334 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/7.394, allocations: 6.859 kB / 0.8334 GB, free: 7.02 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.231055019889027] Failed to read output from testmodel.py, exit status != 0: 7.474446245003492 7.48594779 6.995746186 Calling exit ...