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.0007756/0.0007756, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008343/0.0008343, allocations: 215.7 kB / 23.01 MB, free: 3.109 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.8588/0.8588, allocations: 230.6 MB / 256.8 MB, free: 3.453 MB / 202.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.7181/0.7181, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008534/0.0008534, allocations: 63.91 kB / 0.7195 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4235, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.0035/0.427, allocations: 3.857 MB / 0.8229 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.4287, allocations: 1.887 MB / 0.8247 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.4288, allocations: 25.44 kB / 0.8247 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005501/0.4294, allocations: 272.6 kB / 0.825 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.4297, allocations: 315 kB / 0.8253 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.43, allocations: 252 kB / 0.8255 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.4304, allocations: 0.6092 MB / 0.8261 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.4307, allocations: 236.7 kB / 0.8263 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.431, allocations: 256.1 kB / 0.8266 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.4312, allocations: 242.2 kB / 0.8268 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.4313, allocations: 26.16 kB / 0.8268 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.4315, allocations: 278.6 kB / 0.8271 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.98e-05/0.4316, allocations: 130.1 kB / 0.8272 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.4317, allocations: 208.9 kB / 0.8274 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.4322, allocations: 0.595 MB / 0.828 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.4323, allocations: 3.938 kB / 0.828 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4323, allocations: 0 / 0.828 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.4323, allocations: 3.844 kB / 0.828 GB, free: 19.76 MB / 0.6355 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.000713/0.433, allocations: 0.6711 MB / 0.8287 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.433, allocations: 10.22 kB / 0.8287 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004885/0.4335, allocations: 145.2 kB / 0.8288 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.4338, allocations: 340.5 kB / 0.8291 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.4339, allocations: 21.28 kB / 0.8292 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.4339, allocations: 35.83 kB / 0.8292 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.4344, allocations: 0.551 MB / 0.8297 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.4344, allocations: 7.688 kB / 0.8297 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.4344, allocations: 12.58 kB / 0.8298 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/0.4345, allocations: 44.23 kB / 0.8298 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/0.4349, allocations: 413.1 kB / 0.8302 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.4364, allocations: 3.27 MB / 0.8334 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004267/0.4368, allocations: 317.2 kB / 0.8337 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.437, allocations: 160.9 kB / 0.8338 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.437, allocations: 3.656 kB / 0.8339 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.437, allocations: 35.81 kB / 0.8339 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 1.132e-06/0.437, allocations: 0 / 0.8339 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.001142/0.4381, allocations: 0.8376 MB / 0.8347 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.651e-05/0.4381, allocations: 56.45 kB / 0.8348 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.4384, allocations: 343.2 kB / 0.8351 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.4384, allocations: 30.92 kB / 0.8351 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/0.4385, allocations: 252.2 kB / 0.8354 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.4385, allocations: 101.5 kB / 0.8355 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.4386, allocations: 73.56 kB / 0.8355 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.4386, allocations: 347.6 kB / 0.8359 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.4388, allocations: 154 kB / 0.836 GB, free: 14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.439, allocations: 286.2 kB / 0.8363 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.4393, allocations: 487.7 kB / 0.8367 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4393, allocations: 1.156 kB / 0.8367 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005453/0.4399, allocations: 0.5642 MB / 0.8373 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4399, allocations: 8.938 kB / 0.8373 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4399, allocations: 7.672 kB / 0.8373 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.4401, allocations: 85 kB / 0.8374 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.4403, allocations: 91.28 kB / 0.8375 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4403, allocations: 11.92 kB / 0.8375 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.4404, allocations: 32.83 kB / 0.8375 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.4404, allocations: 19.81 kB / 0.8375 GB, free: 13.13 MB / 0.6355 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.0001032/0.4405, allocations: 178.8 kB / 0.8377 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.4406, allocations: 39.83 kB / 0.8377 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.4411, allocations: 470.6 kB / 0.8382 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4411, allocations: 3.844 kB / 0.8382 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4411, allocations: 0 / 0.8382 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4411, allocations: 6.812 kB / 0.8382 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008512/0.4419, allocations: 0.9332 MB / 0.8391 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4419, allocations: 1.672 kB / 0.8391 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.4421, allocations: 50.72 kB / 0.8392 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/0.4422, allocations: 82.42 kB / 0.8392 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.4422, allocations: 6.219 kB / 0.8392 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4422, allocations: 2.234 kB / 0.8393 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4422, allocations: 1.406 kB / 0.8393 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.4427, allocations: 0.5527 MB / 0.8398 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/0.4427, allocations: 64.8 kB / 0.8399 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.4428, allocations: 12.53 kB / 0.8399 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.4429, allocations: 20.98 kB / 0.8399 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.4429, allocations: 28.05 kB / 0.8399 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.443, allocations: 5.344 kB / 0.8399 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001526/0.4431, allocations: 239.1 kB / 0.8401 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4431, allocations: 0 / 0.8401 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002645/0.4434, allocations: 89.39 kB / 0.8402 GB, free: 11.64 MB / 0.6355 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 7.247e-05/0.4434, allocations: 108.2 kB / 0.8403 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004928/0.4439, allocations: 393.6 kB / 0.8407 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4439, allocations: 0 / 0.8407 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.4442, allocations: 189 kB / 0.8409 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.4446, allocations: 126.7 kB / 0.841 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/0.4454, allocations: 0.7685 MB / 0.8418 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.4455, allocations: 0.8231 MB / 0.8426 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.4456, allocations: 32.81 kB / 0.8426 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.4456, allocations: 0 / 0.8426 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.008205/0.4538, allocations: 9.506 MB / 0.8519 GB, free: 7.555 MB / 0.6355 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: 6.359229400055483] Failed to read output from testmodel.py, exit status != 0: 0.459123294102028 0.466269774 0.032424447 Calling exit ...