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.0007355/0.0007355, allocations: 115 kB / 19.7 MB, free: 0.5273 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.000793/0.000793, allocations: 207.8 kB / 23 MB, free: 3.121 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.8881/0.8881, allocations: 230.6 MB / 256.8 MB, free: 3.473 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.7563/0.7563, allocations: 203.8 MB / 0.5049 GB, free: 0.7422 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: translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [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.0008992/0.0008992, allocations: 71.89 kB / 0.7195 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.4405, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003525/0.444, allocations: 3.37 MB / 0.8224 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002374/0.4464, allocations: 2.128 MB / 0.8245 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.4466, allocations: 8.438 kB / 0.8245 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.4472, allocations: 299.5 kB / 0.8248 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.4476, allocations: 240.7 kB / 0.825 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.4481, allocations: 295.4 kB / 0.8253 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.4485, allocations: 410.6 kB / 0.8257 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.4488, allocations: 169.3 kB / 0.8258 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.449, allocations: 179 kB / 0.826 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.4493, allocations: 211.9 kB / 0.8262 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.4494, allocations: 27.58 kB / 0.8262 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.4497, allocations: 266.3 kB / 0.8265 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.4498, allocations: 125.3 kB / 0.8266 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.4499, allocations: 143.7 kB / 0.8267 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.4504, allocations: 498.3 kB / 0.8272 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4504, allocations: 0 / 0.8272 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4504, allocations: 0 / 0.8272 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.4504, allocations: 1.344 kB / 0.8272 GB, free: 20.34 MB / 0.6355 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.0006726/0.4511, allocations: 0.5287 MB / 0.8277 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.4511, allocations: 10.94 kB / 0.8277 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005374/0.4517, allocations: 118.7 kB / 0.8279 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.4519, allocations: 224.9 kB / 0.8281 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.452, allocations: 22.52 kB / 0.8281 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.85e-05/0.4521, allocations: 36.38 kB / 0.8281 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.4525, allocations: 462.5 kB / 0.8286 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.4526, allocations: 0 / 0.8286 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.4526, allocations: 8.031 kB / 0.8286 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.099e-05/0.4527, allocations: 39.11 kB / 0.8286 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.4531, allocations: 369.8 kB / 0.829 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.4545, allocations: 2.16 MB / 0.8311 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.4547, allocations: 246 kB / 0.8313 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.4549, allocations: 144.4 kB / 0.8314 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.4549, allocations: 2.156 kB / 0.8314 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.4549, allocations: 36.39 kB / 0.8315 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 1.312e-06/0.4549, allocations: 9.125 kB / 0.8315 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.001126/0.456, allocations: 0.9035 MB / 0.8324 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.4561, allocations: 62.72 kB / 0.8324 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.4563, allocations: 262.5 kB / 0.8327 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.4563, allocations: 29.7 kB / 0.8327 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.4563, allocations: 187.2 kB / 0.8329 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.4564, allocations: 90.59 kB / 0.833 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.4565, allocations: 73.58 kB / 0.833 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.4565, allocations: 332.7 kB / 0.8334 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.4567, allocations: 160.5 kB / 0.8335 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.4569, allocations: 246.1 kB / 0.8337 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.4573, allocations: 405.8 kB / 0.8341 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4573, allocations: 1.188 kB / 0.8341 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007392/0.458, allocations: 0.5999 MB / 0.8347 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.458, allocations: 7.422 kB / 0.8347 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.458, allocations: 2.375 kB / 0.8347 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003918/0.4584, allocations: 197 kB / 0.8349 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.4586, allocations: 62.5 kB / 0.835 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.4603, allocations: 2.395 MB / 0.8373 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.4605, allocations: 22.83 kB / 0.8373 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.4605, allocations: 16.55 kB / 0.8374 GB, free: 13.59 MB / 0.6355 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 9.884e-05/0.4606, allocations: 162.8 kB / 0.8375 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.4606, allocations: 32.16 kB / 0.8375 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.461, allocations: 351 kB / 0.8379 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.461, allocations: 2.219 kB / 0.8379 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.461, allocations: 1.188 kB / 0.8379 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.461, allocations: 1.031 kB / 0.8379 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006997/0.4617, allocations: 0.7894 MB / 0.8387 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4617, allocations: 1.031 kB / 0.8387 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.4619, allocations: 77.34 kB / 0.8387 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4619, allocations: 7.188 kB / 0.8387 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.4619, allocations: 7.688 kB / 0.8387 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4619, allocations: 5.281 kB / 0.8387 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4619, allocations: 1.766 kB / 0.8387 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.4624, allocations: 0.6093 MB / 0.8393 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.4625, allocations: 64.36 kB / 0.8394 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.4625, allocations: 12.08 kB / 0.8394 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.4626, allocations: 15.75 kB / 0.8394 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.4626, allocations: 17.14 kB / 0.8394 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4626, allocations: 14.08 kB / 0.8395 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000126/0.4628, allocations: 186.9 kB / 0.8396 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4628, allocations: 0 / 0.8396 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002737/0.463, allocations: 94.5 kB / 0.8397 GB, free: 12.29 MB / 0.6355 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.0001072/0.4631, allocations: 108.3 kB / 0.8398 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006075/0.4638, allocations: 0.514 MB / 0.8403 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4638, allocations: 0 / 0.8403 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.4639, allocations: 142.5 kB / 0.8405 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.4642, allocations: 58.27 kB / 0.8405 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009488/0.4651, allocations: 0.8762 MB / 0.8414 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.4653, allocations: 0.797 MB / 0.8422 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.4654, allocations: 26.81 kB / 0.8422 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.4654, allocations: 0 / 0.8422 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.0063/0.4717, allocations: 4.549 MB / 0.8466 GB, free: 10.23 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.984090941026807] Failed to read output from testmodel.py, exit status != 0: 0.476998555008322 0.48485393200000004 0.032757453 Calling exit ...