Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001058/0.001058, 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.0008363/0.0008363, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9232/0.9232, allocations: 230.6 MB / 256 MB, free: 9.598 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.7567/0.7567, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",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.0009053/0.0009053, allocations: 69.67 kB / 0.7182 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.482, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003319/0.4853, allocations: 3.055 MB / 0.8207 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.4876, allocations: 1.888 MB / 0.8226 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.4878, allocations: 8.812 kB / 0.8226 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006555/0.4884, allocations: 286.6 kB / 0.8229 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003938/0.4888, allocations: 206.7 kB / 0.8231 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.4894, allocations: 248.4 kB / 0.8233 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.4897, allocations: 320.2 kB / 0.8236 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003071/0.49, allocations: 152.7 kB / 0.8238 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.4902, allocations: 136.6 kB / 0.8239 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.4905, allocations: 154.4 kB / 0.824 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.4905, allocations: 23.94 kB / 0.8241 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005529/0.491, allocations: 383.6 kB / 0.8244 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.4912, allocations: 83.78 kB / 0.8245 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.401e-05/0.4912, allocations: 103.9 kB / 0.8246 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006103/0.4919, allocations: 499.8 kB / 0.8251 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4919, allocations: 0.7969 kB / 0.8251 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.865e-06/0.4919, allocations: 0 / 0.8251 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.4919, allocations: 2.188 kB / 0.8251 GB, free: 12.77 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007852/0.4927, allocations: 0.4939 MB / 0.8256 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4927, allocations: 14.09 kB / 0.8256 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.034e-05/0.4928, allocations: 56.97 kB / 0.8256 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005515/0.4933, allocations: 116.1 kB / 0.8257 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.4937, allocations: 205.6 kB / 0.8259 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.4937, allocations: 17.08 kB / 0.826 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.4937, allocations: 20.56 kB / 0.826 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.4942, allocations: 407.5 kB / 0.8264 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4942, allocations: 9.188 kB / 0.8264 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.4942, allocations: 6.844 kB / 0.8264 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.4943, allocations: 25.58 kB / 0.8264 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.4946, allocations: 289.8 kB / 0.8267 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.4961, allocations: 1.274 MB / 0.8279 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.4964, allocations: 232.4 kB / 0.8281 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.4965, allocations: 103.4 kB / 0.8282 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/0.4966, allocations: 18.31 kB / 0.8283 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.4966, allocations: 37.92 kB / 0.8283 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.4966, allocations: 0 / 0.8283 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001722/0.4983, allocations: 0.8926 MB / 0.8292 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.4983, allocations: 88.67 kB / 0.8293 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.4986, allocations: 224.4 kB / 0.8295 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.4986, allocations: 30.83 kB / 0.8295 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.4987, allocations: 167.5 kB / 0.8297 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.4988, allocations: 84.81 kB / 0.8297 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.4989, allocations: 68.56 kB / 0.8298 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.499, allocations: 334.4 kB / 0.8301 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.4992, allocations: 130.9 kB / 0.8302 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.4994, allocations: 204.9 kB / 0.8304 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.4998, allocations: 374.2 kB / 0.8308 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4998, allocations: 0 / 0.8308 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006561/0.5005, allocations: 0.501 MB / 0.8313 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5005, allocations: 6.844 kB / 0.8313 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5005, allocations: 2.719 kB / 0.8313 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003771/0.5009, allocations: 160 kB / 0.8315 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.5011, allocations: 57.91 kB / 0.8315 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.5031, allocations: 3.973 MB / 0.8354 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.5033, allocations: 18.02 kB / 0.8354 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.5033, allocations: 15.8 kB / 0.8354 GB, free: 4.891 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.5034, allocations: 173.4 kB / 0.8356 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.5035, allocations: 22.14 kB / 0.8356 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006061/0.5041, allocations: 475.4 kB / 0.8361 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5041, allocations: 7.5 kB / 0.8361 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5041, allocations: 0.9375 kB / 0.8361 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5041, allocations: 2.281 kB / 0.8361 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.5052, allocations: 0.9361 MB / 0.837 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5052, allocations: 2.031 kB / 0.837 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.848e-05/0.5053, allocations: 39.16 kB / 0.837 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.5055, allocations: 144.1 kB / 0.8372 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.5055, allocations: 9.031 kB / 0.8372 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.5074, allocations: 3.944 MB / 0.841 GB, free: 88 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5074, allocations: 3.75 kB / 0.841 GB, free: 88 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.508, allocations: 0.6245 MB / 0.8416 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.201e-05/0.5081, allocations: 49.62 kB / 0.8417 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.5081, allocations: 13.06 kB / 0.8417 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.5082, allocations: 19.47 kB / 0.8417 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.5083, allocations: 27.08 kB / 0.8417 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.5083, allocations: 12.72 kB / 0.8418 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000112/0.5084, allocations: 159.5 kB / 0.8419 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5084, allocations: 1.281 kB / 0.8419 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004256/0.5088, allocations: 93.59 kB / 0.842 GB, free: 15.48 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008258/0.5097, allocations: 1.192 MB / 0.8432 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007133/0.5104, allocations: 0.5667 MB / 0.8437 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.5104, allocations: 1.188 kB / 0.8437 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.5107, allocations: 388.5 kB / 0.8441 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.5111, allocations: 39.75 kB / 0.8441 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.5143, allocations: 3.341 MB / 0.8474 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.5146, allocations: 166.3 kB / 0.8475 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.5147, allocations: 64.42 kB / 0.8476 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.837e-05/0.5148, allocations: 71.09 kB / 0.8477 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.5148, allocations: 0 / 0.8477 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.5388, allocations: 7.349 MB / 0.8548 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.493, allocations: 1.156 kB / 0.8548 GB, free: 7.586 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.318152972962707] Failed to read output from testmodel.py, exit status != 0: 8.58275333000347 8.59451221 8.100406726 Calling exit ...