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.001229/0.001229, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001546/0.002775, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001119/0.001119, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002581, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9846/0.9846, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.088, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8121/0.8121, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3199/1.132, allocations: 49.14 MB / 448.4 MB, free: 6.055 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 9.31e-07/9.31e-07, allocations: 0 / 449.7 MB, free: 4.773 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.932e-05, allocations: 2.312 kB / 449.7 MB, free: 4.77 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00588/0.005899, allocations: 3.146 MB / 452.8 MB, free: 1.668 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004785/0.01068, allocations: 1.175 MB / 454 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.01085, allocations: 20.72 kB / 454 MB, free: 488 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.01115, allocations: 144 kB / 454.2 MB, free: 344 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.01155, allocations: 257.5 kB / 454.4 MB, free: 88 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.01191, allocations: 214.2 kB / 454.6 MB, free: 15.88 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005865/0.0125, allocations: 0.6439 MB / 455.3 MB, free: 15.23 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.01278, allocations: 225.4 kB / 455.5 MB, free: 15 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004116/0.01319, allocations: 372 kB / 455.9 MB, free: 14.64 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00329/0.01648, allocations: 229 kB / 456.1 MB, free: 14.42 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.01653, allocations: 28 kB / 456.1 MB, free: 14.39 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.0167, allocations: 99.67 kB / 456.2 MB, free: 14.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.285e-05/0.01679, allocations: 109.1 kB / 456.3 MB, free: 14.19 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.01691, allocations: 115.8 kB / 456.4 MB, free: 14.08 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.01726, allocations: 330.7 kB / 456.7 MB, free: 13.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.01727, allocations: 8 kB / 456.8 MB, free: 13.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01727, allocations: 0.7812 kB / 456.8 MB, free: 13.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.01728, allocations: 0 / 456.8 MB, free: 13.75 MB / 442.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.0007073/0.01799, allocations: 0.7021 MB / 457.5 MB, free: 13.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.319e-05/0.01801, allocations: 8.688 kB / 457.5 MB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005005/0.01851, allocations: 214.5 kB / 457.7 MB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.01889, allocations: 338.5 kB / 458 MB, free: 12.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.0189, allocations: 22.11 kB / 458 MB, free: 12.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.01895, allocations: 37.5 kB / 458.1 MB, free: 12.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.01935, allocations: 485.8 kB / 458.5 MB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00303/0.02238, allocations: 3.938 kB / 458.5 MB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.02241, allocations: 12.62 kB / 458.6 MB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/0.02246, allocations: 45.22 kB / 458.6 MB, free: 11.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.02267, allocations: 151.4 kB / 458.7 MB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.02403, allocations: 2.358 MB / 461.1 MB, free: 9.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.02431, allocations: 204.7 kB / 461.3 MB, free: 8.953 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.02439, allocations: 58.08 kB / 461.4 MB, free: 8.895 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.0244, allocations: 4 kB / 461.4 MB, free: 8.891 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.02442, allocations: 30.56 kB / 461.4 MB, free: 8.852 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 1.303e-06/0.02442, allocations: 4 kB / 461.4 MB, free: 8.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007019/0.02513, allocations: 369.9 kB / 461.8 MB, free: 8.473 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.02515, allocations: 51.64 kB / 461.8 MB, free: 8.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.02536, allocations: 323.9 kB / 462.1 MB, free: 8.082 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.02538, allocations: 29.7 kB / 462.2 MB, free: 8.047 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.02548, allocations: 225.6 kB / 462.4 MB, free: 7.824 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.02554, allocations: 99.14 kB / 462.5 MB, free: 7.727 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.02563, allocations: 78.7 kB / 462.6 MB, free: 7.645 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.02574, allocations: 350.7 kB / 462.9 MB, free: 7.293 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.0258, allocations: 37.98 kB / 462.9 MB, free: 7.258 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.02595, allocations: 187.2 kB / 463.1 MB, free: 7.012 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.02621, allocations: 281.4 kB / 463.4 MB, free: 6.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.02621, allocations: 4.594 kB / 463.4 MB, free: 6.676 MB / 442.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004104/0.02662, allocations: 316.6 kB / 463.7 MB, free: 6.352 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.02664, allocations: 11.94 kB / 463.7 MB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.02664, allocations: 8.531 kB / 463.7 MB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.0268, allocations: 65.52 kB / 463.8 MB, free: 6.258 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.02703, allocations: 87.89 kB / 463.9 MB, free: 6.172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.02704, allocations: 11.94 kB / 463.9 MB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.02718, allocations: 15.98 kB / 463.9 MB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.0272, allocations: 12 kB / 463.9 MB, free: 6.133 MB / 442.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.0001186/0.02732, allocations: 146.8 kB / 464.1 MB, free: 5.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.02738, allocations: 35.91 kB / 464.1 MB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.0277, allocations: 229.7 kB / 464.3 MB, free: 5.703 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.0277, allocations: 4 kB / 464.3 MB, free: 5.699 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.0277, allocations: 5.562 kB / 464.3 MB, free: 5.695 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02771, allocations: 3.984 kB / 464.3 MB, free: 5.691 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006126/0.02832, allocations: 0.5168 MB / 464.8 MB, free: 5.129 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.02832, allocations: 3.938 kB / 464.8 MB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.02847, allocations: 47.91 kB / 464.9 MB, free: 5.078 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.02855, allocations: 47.75 kB / 464.9 MB, free: 5.031 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/0.02869, allocations: 64.44 kB / 465 MB, free: 4.957 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.0287, allocations: 4 kB / 465 MB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.0287, allocations: 8.641 kB / 465 MB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02871, allocations: 0 / 465 MB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.02896, allocations: 365.5 kB / 465.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.02899, allocations: 7.984 kB / 465.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.02907, allocations: 8.891 kB / 465.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.02911, allocations: 29.27 kB / 465.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.02911, allocations: 4 kB / 465.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.02919, allocations: 124.7 kB / 465.5 MB, free: 4.383 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02919, allocations: 0 / 465.5 MB, free: 4.383 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002117/0.0294, allocations: 84.91 kB / 465.6 MB, free: 4.301 MB / 442.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 6.325e-05/0.02946, allocations: 94.38 kB / 465.7 MB, free: 4.203 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.02969, allocations: 208.4 kB / 465.9 MB, free: 3.992 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.0297, allocations: 15.97 kB / 465.9 MB, free: 3.977 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.863e-05/0.0298, allocations: 105.9 kB / 466 MB, free: 3.863 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.03012, allocations: 159 kB / 466.2 MB, free: 3.723 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.03172, allocations: 0.6953 MB / 466.9 MB, free: 2.988 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.874e-05/0.03179, allocations: 115.4 kB / 467 MB, free: 2.855 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.0319, allocations: 47.62 kB / 467.1 MB, free: 2.816 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.03206, allocations: 138.1 kB / 467.2 MB, free: 2.68 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.03206, allocations: 3.938 kB / 467.2 MB, free: 2.676 MB / 442.7 MB Notification: Performance of Templates: time 0.006343/0.0384, allocations: 5.312 MB / 472.5 MB, free: 13.78 MB / 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.6912200255319476]