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.000974/0.000974, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001064/0.001064, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.022/1.022, allocations: 177.2 MB / 203.8 MB, free: 5.465 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-535:34: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-535:42: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.8705/0.8705, allocations: 154.9 MB / 415.1 MB, free: 248 kB / 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 1.643e-06/1.643e-06, allocations: 0.6562 kB / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.528e-05, allocations: 2.312 kB / 480.4 MB, free: 6.504 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.01036/0.01039, allocations: 3.114 MB / 483.5 MB, free: 3.438 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.01254, allocations: 1.145 MB / 484.7 MB, free: 2.297 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.01279, allocations: 28.81 kB / 484.7 MB, free: 2.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003609/0.0164, allocations: 123.1 kB / 484.8 MB, free: 2.148 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005458/0.01695, allocations: 250.6 kB / 485.1 MB, free: 1.906 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.0174, allocations: 208.9 kB / 485.3 MB, free: 1.703 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006797/0.01808, allocations: 0.6244 MB / 485.9 MB, free: 1.074 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003857/0.01847, allocations: 248.2 kB / 486.1 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005142/0.01898, allocations: 340.4 kB / 486.5 MB, free: 0.4961 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00338/0.02236, allocations: 218.7 kB / 486.7 MB, free: 292 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.0224, allocations: 24.62 kB / 486.7 MB, free: 268 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.0226, allocations: 99.73 kB / 486.8 MB, free: 168 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.02271, allocations: 124.2 kB / 486.9 MB, free: 44 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.02285, allocations: 139.7 kB / 487.1 MB, free: 15.91 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.02332, allocations: 359.5 kB / 487.4 MB, free: 15.55 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.02332, allocations: 0 / 487.4 MB, free: 15.55 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02332, allocations: 1.688 kB / 487.4 MB, free: 15.55 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.02333, allocations: 0 / 487.4 MB, free: 15.55 MB / 458.7 MB 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.0007556/0.02409, allocations: 0.6171 MB / 488 MB, free: 14.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.02412, allocations: 8.031 kB / 488 MB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005989/0.02472, allocations: 136.6 kB / 488.2 MB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/0.02821, allocations: 335.3 kB / 488.5 MB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.02823, allocations: 21.03 kB / 488.5 MB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.02828, allocations: 44.97 kB / 488.6 MB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.02876, allocations: 481.8 kB / 489 MB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.02878, allocations: 4.625 kB / 489 MB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.02881, allocations: 13.91 kB / 489 MB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.788e-05/0.02886, allocations: 40.62 kB / 489.1 MB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.02908, allocations: 158.9 kB / 489.2 MB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.03087, allocations: 2.356 MB / 491.6 MB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.03359, allocations: 206.3 kB / 491.8 MB, free: 10.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.004e-05/0.03368, allocations: 56.7 kB / 491.9 MB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.03371, allocations: 8.5 kB / 491.9 MB, free: 10.87 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.03374, allocations: 34.56 kB / 491.9 MB, free: 10.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 2.204e-06/0.03374, allocations: 1.031 kB / 491.9 MB, free: 10.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008707/0.03461, allocations: 364.4 kB / 492.2 MB, free: 10.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.03464, allocations: 55.64 kB / 492.3 MB, free: 10.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.03481, allocations: 316.4 kB / 492.6 MB, free: 10.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.03482, allocations: 29.7 kB / 492.6 MB, free: 10.03 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.03505, allocations: 228.7 kB / 492.9 MB, free: 9.805 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.0351, allocations: 104.4 kB / 493 MB, free: 9.703 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.03517, allocations: 74.11 kB / 493 MB, free: 9.625 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.03525, allocations: 354.6 kB / 493.4 MB, free: 9.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.0353, allocations: 40.98 kB / 493.4 MB, free: 9.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.03541, allocations: 184.8 kB / 493.6 MB, free: 8.988 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.03561, allocations: 286.2 kB / 493.9 MB, free: 8.652 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.03561, allocations: 0 / 493.9 MB, free: 8.652 MB / 458.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003263/0.03593, allocations: 314.9 kB / 494.2 MB, free: 8.328 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.03595, allocations: 13.5 kB / 494.2 MB, free: 8.316 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.03596, allocations: 4 kB / 494.2 MB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.0361, allocations: 64.3 kB / 494.3 MB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.03635, allocations: 87.83 kB / 494.4 MB, free: 8.152 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.03636, allocations: 8 kB / 494.4 MB, free: 8.145 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.03647, allocations: 13.12 kB / 494.4 MB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.03649, allocations: 19.98 kB / 494.4 MB, free: 8.113 MB / 458.7 MB 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.0001/0.03659, allocations: 138.2 kB / 494.5 MB, free: 7.969 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.03663, allocations: 35.91 kB / 494.6 MB, free: 7.934 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.03692, allocations: 228.7 kB / 494.8 MB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.03692, allocations: 5.25 kB / 494.8 MB, free: 7.688 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.03692, allocations: 3.938 kB / 494.8 MB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.03693, allocations: 0 / 494.8 MB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/0.03757, allocations: 0.5202 MB / 495.3 MB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.03757, allocations: 4.781 kB / 495.3 MB, free: 7.113 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.03769, allocations: 47.91 kB / 495.4 MB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.0378, allocations: 59.98 kB / 495.4 MB, free: 6.996 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.03782, allocations: 4.781 kB / 495.4 MB, free: 6.992 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.03783, allocations: 0 / 495.4 MB, free: 6.992 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/0.03784, allocations: 9.719 kB / 495.4 MB, free: 6.984 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.03817, allocations: 368.9 kB / 495.8 MB, free: 6.586 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.03824, allocations: 48.48 kB / 495.9 MB, free: 6.539 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.03827, allocations: 8 kB / 495.9 MB, free: 6.531 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.03836, allocations: 18.77 kB / 495.9 MB, free: 6.516 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.03841, allocations: 19.95 kB / 495.9 MB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.03842, allocations: 8 kB / 495.9 MB, free: 6.488 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.966e-05/0.0385, allocations: 116.7 kB / 496 MB, free: 6.371 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0385, allocations: 0 / 496 MB, free: 6.371 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.03874, allocations: 92 kB / 496.1 MB, free: 6.281 MB / 458.7 MB 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.0001063/0.03884, allocations: 89.75 kB / 496.2 MB, free: 6.188 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002791/0.03912, allocations: 205.7 kB / 496.4 MB, free: 5.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.03913, allocations: 4 kB / 496.4 MB, free: 5.977 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.03924, allocations: 110.5 kB / 496.5 MB, free: 5.859 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.0396, allocations: 123.2 kB / 496.6 MB, free: 5.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008544/0.04046, allocations: 0.686 MB / 497.3 MB, free: 5.031 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.864e-05/0.04053, allocations: 122.7 kB / 497.4 MB, free: 4.895 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.04066, allocations: 50.5 kB / 497.5 MB, free: 4.855 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.04084, allocations: 137.3 kB / 497.6 MB, free: 4.719 MB / 458.7 MB Notification: Performance of SimCode: time 6.32e-07/0.04084, allocations: 0 / 497.6 MB, free: 4.719 MB / 458.7 MB Notification: Performance of Templates: time 0.007226/0.04807, allocations: 5.099 MB / 0.4909 GB, free: 20 kB / 458.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8377611967734993]