Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.0007925/0.0007925, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008669/0.0008669, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9577/0.9577, allocations: 230.6 MB / 256 MB, free: 9.605 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.8195/0.8195, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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: "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [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.0009347/0.0009347, allocations: 63.44 kB / 0.7182 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5441/0.545, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005198/0.5502, allocations: 4.617 MB / 0.8223 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003643/0.5539, allocations: 2.397 MB / 0.8246 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004287/0.5543, allocations: 36.38 kB / 0.8247 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.5557, allocations: 399.9 kB / 0.8251 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.5568, allocations: 470.3 kB / 0.8255 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008567/0.5577, allocations: 380.4 kB / 0.8259 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.5588, allocations: 0.9151 MB / 0.8268 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005651/0.5594, allocations: 317.6 kB / 0.8271 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007237/0.5601, allocations: 360.9 kB / 0.8274 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006919/0.5608, allocations: 343.2 kB / 0.8277 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.977e-05/0.5609, allocations: 38.5 kB / 0.8278 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.562, allocations: 358.2 kB / 0.8281 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.5623, allocations: 192.8 kB / 0.8283 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006478/0.5629, allocations: 266.4 kB / 0.8286 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.5648, allocations: 0.8949 MB / 0.8294 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.5648, allocations: 1.125 kB / 0.8294 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5648, allocations: 0 / 0.8294 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.566e-05/0.5648, allocations: 0 / 0.8294 GB, free: 10.24 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002516/0.5673, allocations: 0.8735 MB / 0.8303 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.5674, allocations: 9.781 kB / 0.8303 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/0.5676, allocations: 101.3 kB / 0.8304 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.5687, allocations: 206.5 kB / 0.8306 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007957/0.5695, allocations: 480.9 kB / 0.831 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.5695, allocations: 31.25 kB / 0.8311 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.5696, allocations: 53.86 kB / 0.8311 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.5707, allocations: 0.977 MB / 0.8321 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.5707, allocations: 8.375 kB / 0.8321 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.5708, allocations: 23.95 kB / 0.8321 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.836e-05/0.5709, allocations: 62.88 kB / 0.8322 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000758/0.5716, allocations: 0.5649 MB / 0.8327 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003448/0.5751, allocations: 4.723 MB / 0.8373 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.5756, allocations: 416.5 kB / 0.8377 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.5759, allocations: 205.7 kB / 0.8379 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.5759, allocations: 11.16 kB / 0.8379 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.5759, allocations: 41.09 kB / 0.838 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.144e-06/0.5759, allocations: 4 kB / 0.838 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.002466/0.5784, allocations: 1.137 MB / 0.8391 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.5784, allocations: 59.66 kB / 0.8392 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.579, allocations: 0.5069 MB / 0.8396 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.579, allocations: 31.8 kB / 0.8397 GB, free: 3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.5792, allocations: 361.6 kB / 0.84 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.5793, allocations: 118.9 kB / 0.8401 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.5795, allocations: 111.1 kB / 0.8402 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5796, allocations: 365.8 kB / 0.8406 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.5798, allocations: 195.4 kB / 0.8408 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.5802, allocations: 446.5 kB / 0.8412 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007795/0.581, allocations: 0.697 MB / 0.8419 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.581, allocations: 2.281 kB / 0.8419 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001148/0.5821, allocations: 0.8087 MB / 0.8427 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.5822, allocations: 8.25 kB / 0.8427 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.5822, allocations: 8.25 kB / 0.8427 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/0.5826, allocations: 160.2 kB / 0.8428 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.5828, allocations: 126.4 kB / 0.843 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.5852, allocations: 4.023 MB / 0.8469 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.5855, allocations: 38.34 kB / 0.8469 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.5855, allocations: 27.16 kB / 0.847 GB, free: 12.74 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000238/0.5858, allocations: 226.5 kB / 0.8472 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/0.5858, allocations: 61.91 kB / 0.8472 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007302/0.5866, allocations: 0.5903 MB / 0.8478 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5866, allocations: 4.312 kB / 0.8478 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5866, allocations: 1.375 kB / 0.8478 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5866, allocations: 0 / 0.8478 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.5879, allocations: 1.183 MB / 0.849 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5879, allocations: 2.188 kB / 0.849 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.5881, allocations: 53.98 kB / 0.849 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002454/0.5883, allocations: 145.4 kB / 0.8492 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.5883, allocations: 12.53 kB / 0.8492 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.5904, allocations: 4.02 MB / 0.8531 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.5904, allocations: 6.438 kB / 0.8531 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.5911, allocations: 0.7104 MB / 0.8538 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.5913, allocations: 87.52 kB / 0.8539 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.5913, allocations: 7.375 kB / 0.8539 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.5915, allocations: 23.03 kB / 0.8539 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.5915, allocations: 44.2 kB / 0.854 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.5915, allocations: 8.062 kB / 0.854 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002793/0.5918, allocations: 339.1 kB / 0.8543 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3e-08/0.5918, allocations: 0 / 0.8543 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004957/0.5923, allocations: 137.9 kB / 0.8544 GB, free: 6.355 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008996/0.5932, allocations: 1.266 MB / 0.8556 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009202/0.5941, allocations: 0.8547 MB / 0.8565 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5941, allocations: 1.312 kB / 0.8565 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004493/0.5946, allocations: 0.5717 MB / 0.857 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.5952, allocations: 213.4 kB / 0.8572 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.5999, allocations: 5.103 MB / 0.8622 GB, free: 416 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.6002, allocations: 314.8 kB / 0.8625 GB, free: 208 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002529/0.6004, allocations: 117.5 kB / 0.8626 GB, free: 152 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.6006, allocations: 187.6 kB / 0.8628 GB, free: 0 / 0.6355 GB Notification: Performance of SimCode: time 8.42e-07/0.6006, allocations: 0 / 0.8628 GB, free: 0 / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.6356, allocations: 14.17 MB / 0.8767 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.305/7.94, allocations: 4.562 kB / 0.8767 GB, free: 7.57 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.889075892046094] Failed to read output from testmodel.py, exit status != 0: 8.029042286332697 8.043535419 7.476649851 Calling exit ...