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.001309/0.001309, allocations: 79.75 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00154/0.00154, allocations: 163 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.433/1.433, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.171/1.171, allocations: 154.6 MB / 413.7 MB, free: 5.281 MB / 382.1 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 178] 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 1.643e-06/1.643e-06, allocations: 0 / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.232e-05, allocations: 5.344 kB / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005631/0.005663, allocations: 3.569 MB / 0.622 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003293/0.008957, allocations: 1.743 MB / 0.6237 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.009164, allocations: 27.75 kB / 0.6237 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.01016, allocations: 274.5 kB / 0.624 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006945/0.01086, allocations: 318.1 kB / 0.6243 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006003/0.01146, allocations: 257.8 kB / 0.6245 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007502/0.01221, allocations: 0.6283 MB / 0.6252 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/0.01267, allocations: 234.6 kB / 0.6254 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.0132, allocations: 343 kB / 0.6257 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.01356, allocations: 203.4 kB / 0.6259 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.01362, allocations: 28 kB / 0.6259 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000427/0.01404, allocations: 247.3 kB / 0.6262 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.0142, allocations: 127.6 kB / 0.6263 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.0144, allocations: 147.6 kB / 0.6264 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009002/0.0153, allocations: 0.6073 MB / 0.627 GB, free: 11.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.0153, allocations: 0 / 0.627 GB, free: 11.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.0153, allocations: 0 / 0.627 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.01531, allocations: 0 / 0.627 GB, free: 11.93 MB / 0.545 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.001233/0.01654, allocations: 0.6681 MB / 0.6277 GB, free: 11.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.01659, allocations: 9.469 kB / 0.6277 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009841/0.01757, allocations: 140.4 kB / 0.6278 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/0.01817, allocations: 344.7 kB / 0.6281 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.0182, allocations: 24.97 kB / 0.6282 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.01826, allocations: 24.38 kB / 0.6282 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.01931, allocations: 0.635 MB / 0.6288 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.01933, allocations: 7.984 kB / 0.6288 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.01937, allocations: 12 kB / 0.6288 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.0195, allocations: 36.64 kB / 0.6289 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007392/0.02024, allocations: 410.1 kB / 0.6293 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.02325, allocations: 2.675 MB / 0.6319 GB, free: 6.703 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.02395, allocations: 314.5 kB / 0.6322 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.02425, allocations: 160.8 kB / 0.6323 GB, free: 6.227 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.02427, allocations: 4 kB / 0.6323 GB, free: 6.223 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.02431, allocations: 38.44 kB / 0.6324 GB, free: 6.176 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 1.353e-06/0.02431, allocations: 0 / 0.6324 GB, free: 6.176 MB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.002/0.02631, allocations: 0.8414 MB / 0.6332 GB, free: 5.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.02635, allocations: 55.64 kB / 0.6332 GB, free: 5.254 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.02671, allocations: 325.5 kB / 0.6335 GB, free: 4.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.02675, allocations: 33.7 kB / 0.6336 GB, free: 4.895 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.02695, allocations: 248 kB / 0.6338 GB, free: 4.648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-05/0.02704, allocations: 103.2 kB / 0.6339 GB, free: 4.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.02716, allocations: 86.05 kB / 0.634 GB, free: 4.457 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.02733, allocations: 350.7 kB / 0.6343 GB, free: 4.105 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.02762, allocations: 144.9 kB / 0.6345 GB, free: 3.965 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.02804, allocations: 291.2 kB / 0.6347 GB, free: 3.617 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007591/0.0288, allocations: 487.9 kB / 0.6352 GB, free: 3.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.0288, allocations: 4 kB / 0.6352 GB, free: 3.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000997/0.0298, allocations: 0.5502 MB / 0.6358 GB, free: 2.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.02982, allocations: 11.98 kB / 0.6358 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.02983, allocations: 7.984 kB / 0.6358 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003319/0.03016, allocations: 91.02 kB / 0.6359 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.0305, allocations: 87.88 kB / 0.6359 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.03051, allocations: 11.94 kB / 0.636 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.03078, allocations: 27.97 kB / 0.636 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.03081, allocations: 20 kB / 0.636 GB, free: 2.246 MB / 0.545 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.0001895/0.031, allocations: 178.6 kB / 0.6362 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.03107, allocations: 35.77 kB / 0.6362 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009052/0.03197, allocations: 479.8 kB / 0.6367 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.03198, allocations: 4 kB / 0.6367 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.03198, allocations: 0 / 0.6367 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.03199, allocations: 0 / 0.6367 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.03334, allocations: 0.8347 MB / 0.6375 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.03334, allocations: 0 / 0.6375 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.03358, allocations: 51.95 kB / 0.6375 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/0.03381, allocations: 86.55 kB / 0.6376 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.03383, allocations: 4 kB / 0.6376 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.03384, allocations: 7.984 kB / 0.6376 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.03384, allocations: 3.938 kB / 0.6376 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/0.03471, allocations: 0.5357 MB / 0.6382 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.03484, allocations: 55.73 kB / 0.6382 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.03489, allocations: 15.89 kB / 0.6382 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.0351, allocations: 23.97 kB / 0.6382 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.03518, allocations: 31.89 kB / 0.6383 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.03519, allocations: 4 kB / 0.6383 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002112/0.0354, allocations: 223.2 kB / 0.6385 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.0354, allocations: 0 / 0.6385 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004063/0.03581, allocations: 88 kB / 0.6386 GB, free: 15.48 MB / 0.5606 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 0.0001341/0.03594, allocations: 103.2 kB / 0.6387 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008007/0.03674, allocations: 406.2 kB / 0.6391 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.03675, allocations: 1.25 kB / 0.6391 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.03711, allocations: 195.4 kB / 0.6392 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006875/0.0378, allocations: 125 kB / 0.6394 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.03892, allocations: 0.7055 MB / 0.6401 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.03915, allocations: 228 kB / 0.6403 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.03935, allocations: 79.28 kB / 0.6404 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/0.03944, allocations: 32.5 kB / 0.6404 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.03944, allocations: 0 / 0.6404 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.00999/0.04943, allocations: 4.769 MB / 0.645 GB, free: 8.938 MB / 0.5606 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.937365602701902] Failed to read output from testmodel.py, exit status != 0: 0.058226604014635086 0.072014354 0.053785402 Calling exit ...