Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0008797/0.0008797, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001105/0.001105, allocations: 209.2 kB / 22.24 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.975/0.975, allocations: 230.6 MB / 256 MB, free: 9.578 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.7866/0.7866, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.0008938/0.0008938, allocations: 70.58 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4677, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01209/0.4798, allocations: 13.92 MB / 0.8314 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.4911, allocations: 9.976 MB / 0.8411 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006397/0.4918, allocations: 81.66 kB / 0.8412 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.494, allocations: 1.684 MB / 0.8429 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.4971, allocations: 1.852 MB / 0.8447 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.4983, allocations: 0.7614 MB / 0.8454 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.5007, allocations: 2.773 MB / 0.8481 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.5021, allocations: 1.178 MB / 0.8493 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.5039, allocations: 1.638 MB / 0.8509 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.5051, allocations: 1.081 MB / 0.8519 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.5053, allocations: 160.3 kB / 0.8521 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.5064, allocations: 0.7365 MB / 0.8528 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004596/0.5068, allocations: 0.6132 MB / 0.8534 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007195/0.5076, allocations: 0.778 MB / 0.8542 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.5097, allocations: 2.789 MB / 0.8569 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5097, allocations: 1.375 kB / 0.8569 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5097, allocations: 0 / 0.8569 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.407e-05/0.5098, allocations: 0 / 0.8569 GB, free: 7.77 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00253/0.5123, allocations: 2.153 MB / 0.859 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5123, allocations: 8.656 kB / 0.859 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.5125, allocations: 190.7 kB / 0.8592 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006527/0.519, allocations: 2.125 MB / 0.8612 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.5207, allocations: 1.227 MB / 0.8624 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.416e-05/0.5207, allocations: 93.17 kB / 0.8625 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.5209, allocations: 123.8 kB / 0.8627 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003735/0.5247, allocations: 3.07 MB / 0.8657 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.5247, allocations: 15.22 kB / 0.8657 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.5248, allocations: 58.14 kB / 0.8657 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003872/0.5252, allocations: 190.1 kB / 0.8659 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004666/0.5299, allocations: 2.786 MB / 0.8686 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008437/0.5383, allocations: 8.339 MB / 0.8768 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003663/0.542, allocations: 2.175 MB / 0.8789 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.5437, allocations: 1.206 MB / 0.8801 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.5437, allocations: 9 kB / 0.8801 GB, free: 5.297 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.5438, allocations: 55.48 kB / 0.8801 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 2.786e-06/0.5438, allocations: 0 / 0.8801 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.03108/0.5749, allocations: 15.99 MB / 0.8957 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.5749, allocations: 72.66 kB / 0.8958 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.576, allocations: 1.191 MB / 0.897 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.5761, allocations: 45.7 kB / 0.897 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.5765, allocations: 0.7607 MB / 0.8978 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.5768, allocations: 0.5383 MB / 0.8983 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003378/0.5772, allocations: 287.5 kB / 0.8986 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.5772, allocations: 309 kB / 0.8989 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.5793, allocations: 1.507 MB / 0.9003 GB, free: 460 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.5815, allocations: 1.788 MB / 0.9021 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004113/0.5856, allocations: 3.362 MB / 0.9054 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5856, allocations: 4 kB / 0.9054 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007509/0.5931, allocations: 5.215 MB / 0.9105 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.5931, allocations: 8.125 kB / 0.9105 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5931, allocations: 12 kB / 0.9105 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003452/0.5966, allocations: 1.876 MB / 0.9123 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.5976, allocations: 415.3 kB / 0.9127 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01785/0.6155, allocations: 23.05 MB / 0.9352 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.6171, allocations: 307.5 kB / 0.9355 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.6172, allocations: 71.91 kB / 0.9356 GB, free: 11.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000729/0.6179, allocations: 461.5 kB / 0.936 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.6181, allocations: 186.9 kB / 0.9362 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007243/0.6253, allocations: 5.249 MB / 0.9413 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.6253, allocations: 16 kB / 0.9413 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.6254, allocations: 20 kB / 0.9414 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.6254, allocations: 8.062 kB / 0.9414 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009129/0.6345, allocations: 6.969 MB / 0.9482 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.6345, allocations: 4 kB / 0.9482 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008277/0.6353, allocations: 351.4 kB / 0.9485 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003155/0.6385, allocations: 1.705 MB / 0.9502 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.584e-05/0.6386, allocations: 47.89 kB / 0.9502 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01672/0.6553, allocations: 22.23 MB / 0.9719 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.6553, allocations: 12 kB / 0.9719 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006701/0.662, allocations: 4.829 MB / 0.9767 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008736/0.6629, allocations: 422.6 kB / 0.9771 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.663, allocations: 28 kB / 0.9771 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.6641, allocations: 323.5 kB / 0.9774 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003427/0.6644, allocations: 156.9 kB / 0.9775 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.989e-05/0.6645, allocations: 55.95 kB / 0.9776 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007394/0.6653, allocations: 0.7938 MB / 0.9784 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.6653, allocations: 0 / 0.9784 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001541/0.6668, allocations: 0.6523 MB / 0.979 GB, free: 13.53 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007002/0.6738, allocations: 5.409 MB / 0.9843 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006131/0.6799, allocations: 4.917 MB / 0.9891 GB, free: 3 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6799, allocations: 4.062 kB / 0.9891 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003812/0.6838, allocations: 3.284 MB / 0.9923 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.6852, allocations: 0.5554 MB / 0.9928 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/0.7127, allocations: 21.78 MB / 1.014 GB, free: 8.805 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008428/0.7136, allocations: 0.9882 MB / 1.015 GB, free: 7.773 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0008838/0.7144, allocations: 382.4 kB / 1.015 GB, free: 7.395 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/0.715, allocations: 0.6554 MB / 1.016 GB, free: 6.738 MB / 0.7917 GB Notification: Performance of SimCode: time 1.402e-06/0.715, allocations: 0 / 1.016 GB, free: 6.738 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07645/0.7915, allocations: 63.81 MB / 1.078 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.868, allocations: 7.812 kB / 1.078 GB, free: 7.645 MB / 0.8542 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.958570234943181] Failed to read output from testmodel.py, exit status != 0: 8.973905102815479 8.983143907 8.471016211 Calling exit ...