Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.000718/0.000718, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007907/0.0007907, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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.813/0.813, allocations: 177.2 MB / 203.5 MB, free: 5.742 MB / 186.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.6747/0.6747, allocations: 154.5 MB / 414.5 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.086e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003721/0.003752, allocations: 3.578 MB / 0.6228 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.005644, allocations: 1.738 MB / 0.6245 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.0058, allocations: 19.81 kB / 0.6245 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.00642, allocations: 270.5 kB / 0.6247 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.006845, allocations: 322.1 kB / 0.6251 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.007198, allocations: 262.9 kB / 0.6253 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.007727, allocations: 0.6244 MB / 0.6259 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.008076, allocations: 230.5 kB / 0.6261 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.008435, allocations: 335.2 kB / 0.6265 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.008683, allocations: 215.3 kB / 0.6267 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.008717, allocations: 24 kB / 0.6267 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.008962, allocations: 251.2 kB / 0.6269 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.996e-05/0.009062, allocations: 123.6 kB / 0.627 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.009167, allocations: 139.7 kB / 0.6272 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.009653, allocations: 0.6074 MB / 0.6278 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.009656, allocations: 0 / 0.6278 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.102e-06/0.009657, allocations: 0 / 0.6278 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.009663, allocations: 4 kB / 0.6278 GB, free: 4.492 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0007988/0.01046, allocations: 0.6565 MB / 0.6284 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.0105, allocations: 13.47 kB / 0.6284 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.01099, allocations: 144.4 kB / 0.6286 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.01136, allocations: 352.5 kB / 0.6289 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.01137, allocations: 25.02 kB / 0.6289 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.01141, allocations: 28.38 kB / 0.6289 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.01198, allocations: 0.6272 MB / 0.6296 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.012, allocations: 3.984 kB / 0.6296 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.01202, allocations: 19.94 kB / 0.6296 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.045e-05/0.01207, allocations: 36.64 kB / 0.6296 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.01248, allocations: 406.1 kB / 0.63 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.01407, allocations: 2.683 MB / 0.6326 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.01449, allocations: 306.5 kB / 0.6329 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.01466, allocations: 160.8 kB / 0.6331 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.01468, allocations: 4 kB / 0.6331 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.0147, allocations: 42.44 kB / 0.6331 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 1.854e-06/0.0147, allocations: 0 / 0.6331 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001155/0.01586, allocations: 0.8449 MB / 0.6339 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.01589, allocations: 51.64 kB / 0.634 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.01611, allocations: 337.4 kB / 0.6343 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.01613, allocations: 37.64 kB / 0.6343 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.01624, allocations: 252 kB / 0.6346 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.01629, allocations: 95.2 kB / 0.6347 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.01637, allocations: 82.11 kB / 0.6348 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.01646, allocations: 342.8 kB / 0.6351 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.01662, allocations: 148.9 kB / 0.6352 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.01684, allocations: 287.2 kB / 0.6355 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/0.01725, allocations: 491.9 kB / 0.636 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01725, allocations: 0 / 0.636 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005565/0.01781, allocations: 0.5579 MB / 0.6365 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.01783, allocations: 4 kB / 0.6365 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.01783, allocations: 12.61 kB / 0.6365 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.01803, allocations: 86.52 kB / 0.6366 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.0182, allocations: 87.88 kB / 0.6367 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.01821, allocations: 11.94 kB / 0.6367 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.01833, allocations: 27.97 kB / 0.6367 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.01835, allocations: 20 kB / 0.6368 GB, free: 10.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.01848, allocations: 182.5 kB / 0.6369 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.01852, allocations: 47.72 kB / 0.637 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/0.01903, allocations: 456 kB / 0.6374 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01903, allocations: 4 kB / 0.6374 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.01904, allocations: 7.922 kB / 0.6374 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01904, allocations: 4 kB / 0.6374 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007974/0.01984, allocations: 0.8316 MB / 0.6382 GB, free: 9.207 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01984, allocations: 8.094 kB / 0.6382 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.01995, allocations: 51.89 kB / 0.6383 GB, free: 9.148 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.02008, allocations: 78.52 kB / 0.6384 GB, free: 9.062 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.02009, allocations: 8 kB / 0.6384 GB, free: 9.055 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.0201, allocations: 3.984 kB / 0.6384 GB, free: 9.051 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.0201, allocations: 7.938 kB / 0.6384 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.02059, allocations: 0.5357 MB / 0.6389 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.02067, allocations: 67.69 kB / 0.639 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.0207, allocations: 7.938 kB / 0.639 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.0208, allocations: 23.97 kB / 0.639 GB, free: 8.375 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.02085, allocations: 23.89 kB / 0.639 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.02086, allocations: 8 kB / 0.639 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001305/0.02099, allocations: 231.1 kB / 0.6393 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.02099, allocations: 0 / 0.6393 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002418/0.02123, allocations: 84 kB / 0.6393 GB, free: 8.039 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.956e-05/0.02132, allocations: 111.1 kB / 0.6394 GB, free: 7.922 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004675/0.02179, allocations: 395.8 kB / 0.6398 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02179, allocations: 192 / 0.6398 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.02198, allocations: 199.9 kB / 0.64 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.02238, allocations: 131.1 kB / 0.6401 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007286/0.0231, allocations: 0.7423 MB / 0.6409 GB, free: 6.418 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.02323, allocations: 220.1 kB / 0.6411 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.0233, allocations: 28.5 kB / 0.6411 GB, free: 6.152 MB / 0.6042 GB Notification: Performance of SimCode: time 7.91e-07/0.0233, allocations: 4 kB / 0.6411 GB, free: 6.148 MB / 0.6042 GB Notification: Performance of Templates: time 0.006982/0.03029, allocations: 9.564 MB / 0.6504 GB, free: 12.62 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.867434316314757] Failed to read output from testmodel.py, exit status != 0: 0.03523193206638098 0.045563699000000006 0.034150292 Calling exit ...