Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0007917/0.0007917, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008273/0.0008273, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.932/0.932, allocations: 230.6 MB / 256 MB, free: 9.609 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.7808/0.7808, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.001504/0.001504, allocations: 63.25 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5334/0.5349, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003757/0.5387, allocations: 3.232 MB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002731/0.5414, allocations: 1.991 MB / 0.8229 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.5416, allocations: 8.531 kB / 0.8229 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007002/0.5423, allocations: 294.6 kB / 0.8232 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005589/0.5428, allocations: 234.1 kB / 0.8234 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.5443, allocations: 292.7 kB / 0.8237 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007044/0.545, allocations: 414.5 kB / 0.8241 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004719/0.5455, allocations: 169.9 kB / 0.8242 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004354/0.5459, allocations: 169.1 kB / 0.8244 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005133/0.5464, allocations: 204.4 kB / 0.8246 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.5464, allocations: 24.56 kB / 0.8246 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006241/0.5471, allocations: 237.2 kB / 0.8248 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.5472, allocations: 132.9 kB / 0.825 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.5473, allocations: 124.1 kB / 0.8251 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006436/0.548, allocations: 496.3 kB / 0.8256 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.548, allocations: 0.5156 kB / 0.8256 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.515e-06/0.548, allocations: 0 / 0.8256 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.548, allocations: 3.938 kB / 0.8256 GB, free: 12.52 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009504/0.549, allocations: 0.531 MB / 0.8261 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.549, allocations: 10.69 kB / 0.8261 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.987e-05/0.5491, allocations: 68 kB / 0.8262 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000755/0.5498, allocations: 114.5 kB / 0.8263 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.5502, allocations: 221.8 kB / 0.8265 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.5502, allocations: 14.75 kB / 0.8265 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.5504, allocations: 48.02 kB / 0.8265 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006919/0.5511, allocations: 0.5169 MB / 0.827 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5511, allocations: 1.219 kB / 0.8271 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.5511, allocations: 15.8 kB / 0.8271 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.5512, allocations: 40.56 kB / 0.8271 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.5517, allocations: 367.7 kB / 0.8275 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.5535, allocations: 1.642 MB / 0.8291 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.5539, allocations: 239 kB / 0.8293 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.554, allocations: 152 kB / 0.8294 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.5541, allocations: 2.438 kB / 0.8294 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.5541, allocations: 36.44 kB / 0.8295 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/0.5541, allocations: 0 / 0.8295 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001694/0.5558, allocations: 0.9009 MB / 0.8303 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.5558, allocations: 58.55 kB / 0.8304 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.5561, allocations: 262.6 kB / 0.8307 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.5561, allocations: 31.86 kB / 0.8307 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.5562, allocations: 191.4 kB / 0.8309 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.5563, allocations: 94.06 kB / 0.831 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.5564, allocations: 77.77 kB / 0.831 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.5565, allocations: 332.8 kB / 0.8313 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.5567, allocations: 163.8 kB / 0.8315 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.557, allocations: 242.3 kB / 0.8317 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.5574, allocations: 407 kB / 0.8321 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.5574, allocations: 5.125 kB / 0.8321 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008614/0.5583, allocations: 0.5933 MB / 0.8327 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.5583, allocations: 5.906 kB / 0.8327 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5583, allocations: 2.844 kB / 0.8327 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004661/0.5587, allocations: 191.9 kB / 0.8329 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.559, allocations: 66.83 kB / 0.833 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.5612, allocations: 2.374 MB / 0.8353 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.5614, allocations: 23.11 kB / 0.8353 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.5614, allocations: 15.83 kB / 0.8353 GB, free: 6.215 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.5616, allocations: 172.2 kB / 0.8355 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.5616, allocations: 28.03 kB / 0.8355 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.5621, allocations: 349.2 kB / 0.8358 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5621, allocations: 4.516 kB / 0.8358 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.5621, allocations: 0 / 0.8358 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5621, allocations: 1.406 kB / 0.8358 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.5632, allocations: 0.7587 MB / 0.8366 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5632, allocations: 0.5625 kB / 0.8366 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.5634, allocations: 70.31 kB / 0.8367 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5634, allocations: 5.125 kB / 0.8367 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.5635, allocations: 8.688 kB / 0.8367 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5635, allocations: 2.312 kB / 0.8367 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.5635, allocations: 1.344 kB / 0.8367 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006157/0.5641, allocations: 0.6181 MB / 0.8373 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5642, allocations: 53.66 kB / 0.8373 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.5642, allocations: 11.31 kB / 0.8373 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.5644, allocations: 12.14 kB / 0.8374 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.5644, allocations: 20.47 kB / 0.8374 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.5644, allocations: 11.02 kB / 0.8374 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001751/0.5646, allocations: 187.3 kB / 0.8376 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5646, allocations: 0 / 0.8376 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003662/0.5649, allocations: 90.12 kB / 0.8376 GB, free: 4.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0008767/0.5658, allocations: 1.16 MB / 0.8388 GB, free: 4.062 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00081/0.5666, allocations: 0.5108 MB / 0.8393 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5666, allocations: 0 / 0.8393 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.5668, allocations: 137.9 kB / 0.8394 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.5672, allocations: 56.09 kB / 0.8395 GB, free: 3.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.5715, allocations: 3.703 MB / 0.8431 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.5716, allocations: 183.2 kB / 0.8433 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002075/0.5718, allocations: 83.39 kB / 0.8433 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.572, allocations: 86 kB / 0.8434 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of SimCode: time 1.423e-06/0.572, allocations: 0 / 0.8434 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.5994, allocations: 7.644 MB / 0.8509 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.786, allocations: 11.17 kB / 0.8509 GB, free: 13.09 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.660929935984313] Failed to read output from testmodel.py, exit status != 0: 7.872420140076429 7.884322534 7.333928229 Calling exit ...