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.0008961/0.0008961, 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.0009266/0.0009266, 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 0.9496/0.9496, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.9217/0.9217, allocations: 154.9 MB / 415.1 MB, free: 240 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 2.053e-06/2.053e-06, allocations: 0 / 480.4 MB, free: 6.559 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.875e-05, allocations: 2.859 kB / 480.4 MB, free: 6.555 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004181/0.00421, allocations: 3.057 MB / 483.4 MB, free: 3.535 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.006038, allocations: 1.157 MB / 484.6 MB, free: 2.383 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.006201, allocations: 23.81 kB / 484.6 MB, free: 2.359 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.00666, allocations: 124.5 kB / 484.7 MB, free: 2.238 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.006976, allocations: 249 kB / 485 MB, free: 1.996 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.007231, allocations: 219.1 kB / 485.2 MB, free: 1.785 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004333/0.007664, allocations: 0.6244 MB / 485.8 MB, free: 1.156 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.007937, allocations: 247.6 kB / 486 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.008272, allocations: 340.1 kB / 486.4 MB, free: 0.5781 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.008515, allocations: 208.2 kB / 486.6 MB, free: 384 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.008549, allocations: 28 kB / 486.6 MB, free: 356 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.008665, allocations: 100.8 kB / 486.7 MB, free: 256 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.911e-05/0.008754, allocations: 123.6 kB / 486.8 MB, free: 132 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.008863, allocations: 135.7 kB / 487 MB, free: 15.99 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.009174, allocations: 363.2 kB / 487.3 MB, free: 15.64 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.009177, allocations: 0.5312 kB / 487.3 MB, free: 15.64 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.469e-06/0.009181, allocations: 0 / 487.3 MB, free: 15.64 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.009187, allocations: 0.6875 kB / 487.3 MB, free: 15.64 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.0006239/0.009811, allocations: 0.6179 MB / 487.9 MB, free: 15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.009841, allocations: 8.031 kB / 487.9 MB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003935/0.01023, allocations: 137.1 kB / 488.1 MB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.01057, allocations: 339.4 kB / 488.4 MB, free: 14.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.01059, allocations: 21.03 kB / 488.4 MB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.01063, allocations: 37.34 kB / 488.5 MB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.011, allocations: 491 kB / 488.9 MB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.01102, allocations: 3.938 kB / 489 MB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.01104, allocations: 12 kB / 489 MB, free: 13.87 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/0.01109, allocations: 49.66 kB / 489 MB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.01125, allocations: 146.4 kB / 489.2 MB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.01279, allocations: 2.358 MB / 491.5 MB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.01305, allocations: 203.6 kB / 491.7 MB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.01312, allocations: 57.42 kB / 491.8 MB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.01314, allocations: 5.312 kB / 491.8 MB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.01316, allocations: 30.56 kB / 491.8 MB, free: 10.92 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 1.333e-06/0.01316, allocations: 3.938 kB / 491.8 MB, free: 10.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006331/0.01379, allocations: 364.4 kB / 492.2 MB, free: 10.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.01381, allocations: 60.47 kB / 492.2 MB, free: 10.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.01397, allocations: 319.2 kB / 492.5 MB, free: 10.15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.01399, allocations: 30.3 kB / 492.6 MB, free: 10.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.01408, allocations: 228.7 kB / 492.8 MB, free: 9.891 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.01413, allocations: 101 kB / 492.9 MB, free: 9.793 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.0142, allocations: 78.11 kB / 493 MB, free: 9.711 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.01428, allocations: 346.7 kB / 493.3 MB, free: 9.363 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.773e-05/0.01433, allocations: 40.97 kB / 493.3 MB, free: 9.324 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.01444, allocations: 191.2 kB / 493.5 MB, free: 9.074 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.01463, allocations: 278.9 kB / 493.8 MB, free: 8.746 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01464, allocations: 0 / 493.8 MB, free: 8.746 MB / 458.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000312/0.01495, allocations: 315.7 kB / 494.1 MB, free: 8.422 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.01496, allocations: 8.625 kB / 494.1 MB, free: 8.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01497, allocations: 4 kB / 494.1 MB, free: 8.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.01511, allocations: 73.17 kB / 494.2 MB, free: 8.328 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.01527, allocations: 75.89 kB / 494.3 MB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.01527, allocations: 11.94 kB / 494.3 MB, free: 8.242 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.72e-05/0.01537, allocations: 16 kB / 494.3 MB, free: 8.227 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.01538, allocations: 13.12 kB / 494.3 MB, free: 8.215 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 9.418e-05/0.01548, allocations: 141.7 kB / 494.4 MB, free: 8.066 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.01552, allocations: 39.89 kB / 494.5 MB, free: 8.027 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.01578, allocations: 229.5 kB / 494.7 MB, free: 7.785 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01578, allocations: 4 kB / 494.7 MB, free: 7.781 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.01578, allocations: 9.344 kB / 494.7 MB, free: 7.773 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01579, allocations: 0 / 494.7 MB, free: 7.773 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.01629, allocations: 0.5207 MB / 495.2 MB, free: 7.207 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01629, allocations: 0 / 495.2 MB, free: 7.207 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.69e-05/0.01639, allocations: 35.98 kB / 495.3 MB, free: 7.172 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.01649, allocations: 72.02 kB / 495.3 MB, free: 7.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01651, allocations: 4 kB / 495.3 MB, free: 7.086 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01651, allocations: 4.719 kB / 495.4 MB, free: 7.082 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01651, allocations: 0 / 495.4 MB, free: 7.082 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.01677, allocations: 365.9 kB / 495.7 MB, free: 6.688 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.01683, allocations: 47.69 kB / 495.8 MB, free: 6.641 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.01686, allocations: 16.59 kB / 495.8 MB, free: 6.625 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.097e-05/0.01694, allocations: 11.94 kB / 495.8 MB, free: 6.617 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.01699, allocations: 29.02 kB / 495.8 MB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.017, allocations: 4 kB / 495.8 MB, free: 6.586 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.429e-05/0.01708, allocations: 124.7 kB / 495.9 MB, free: 6.461 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01708, allocations: 0.6875 kB / 495.9 MB, free: 6.461 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.0173, allocations: 88 kB / 496 MB, free: 6.375 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 8.798e-05/0.01738, allocations: 82.27 kB / 496.1 MB, free: 6.289 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.01764, allocations: 213.7 kB / 496.3 MB, free: 6.074 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.01765, allocations: 4.656 kB / 496.3 MB, free: 6.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.01775, allocations: 102.2 kB / 496.4 MB, free: 5.961 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.0181, allocations: 122.1 kB / 496.5 MB, free: 5.852 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/0.01887, allocations: 0.6823 MB / 497.2 MB, free: 5.137 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.825e-05/0.01895, allocations: 121.6 kB / 497.3 MB, free: 5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.01906, allocations: 44.77 kB / 497.4 MB, free: 4.965 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.01923, allocations: 137.3 kB / 497.5 MB, free: 4.828 MB / 458.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01923, allocations: 0 / 497.5 MB, free: 4.828 MB / 458.7 MB Notification: Performance of Templates: time 0.006963/0.02619, allocations: 5.111 MB / 0.4908 GB, free: 124 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6920277969911695]