Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0008625/0.0008625, 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.001564/0.001564, allocations: 207.6 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.9698/0.9698, allocations: 230.6 MB / 256 MB, free: 9.613 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.8061/0.8061, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.00157/0.00157, allocations: 65.94 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5161, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02908/0.5452, allocations: 33.67 MB / 0.8507 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.5602, allocations: 10.02 MB / 0.8605 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00445/0.5646, allocations: 191.6 kB / 0.8607 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.007303/0.5719, allocations: 3.825 MB / 0.8644 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005474/0.5774, allocations: 2.148 MB / 0.8665 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003883/0.5813, allocations: 1.967 MB / 0.8684 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008815/0.5901, allocations: 7.971 MB / 0.8762 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007014/0.5971, allocations: 5.226 MB / 0.8813 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005739/0.6029, allocations: 3.494 MB / 0.8847 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004789/0.6076, allocations: 3.691 MB / 0.8883 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.609, allocations: 0.6758 MB / 0.889 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.6117, allocations: 1.361 MB / 0.8903 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002105/0.6138, allocations: 2.689 MB / 0.8929 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004037/0.6179, allocations: 2.514 MB / 0.8954 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.009682/0.6276, allocations: 10.47 MB / 0.9056 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.6276, allocations: 0 / 0.9056 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.375e-06/0.6276, allocations: 0 / 0.9056 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003887/0.6279, allocations: 4 kB / 0.9056 GB, free: 11.45 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01294/0.6409, allocations: 5.463 MB / 0.9109 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0005911/0.6415, allocations: 12.03 kB / 0.911 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001437/0.6429, allocations: 0.6945 MB / 0.9116 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.6462, allocations: 0.9928 MB / 0.9126 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005156/0.6514, allocations: 3.136 MB / 0.9157 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.6516, allocations: 353.9 kB / 0.916 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007662/0.6523, allocations: 464.3 kB / 0.9164 GB, free: 220 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/0.6651, allocations: 8.667 MB / 0.9249 GB, free: 6.996 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/0.6652, allocations: 27.75 kB / 0.9249 GB, free: 6.969 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004194/0.6656, allocations: 212 kB / 0.9251 GB, free: 6.762 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003366/0.6659, allocations: 369.1 kB / 0.9255 GB, free: 6.398 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008886/0.6748, allocations: 5.933 MB / 0.9313 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02734/0.7022, allocations: 23.74 MB / 0.9545 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.7046, allocations: 1.995 MB / 0.9564 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.7059, allocations: 1.325 MB / 0.9577 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/0.7059, allocations: 21.25 kB / 0.9577 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.706, allocations: 55.86 kB / 0.9578 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=157): time 4.088e-06/0.706, allocations: 4 kB / 0.9578 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of matching and sorting (n=160): time 0.009095/0.7151, allocations: 6.659 MB / 0.9643 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.7151, allocations: 68.72 kB / 0.9644 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.717, allocations: 1.915 MB / 0.9662 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.7171, allocations: 49.7 kB / 0.9663 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.7183, allocations: 2.184 MB / 0.9684 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.7187, allocations: 0.5887 MB / 0.969 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/0.7191, allocations: 404 kB / 0.9694 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.7191, allocations: 305.1 kB / 0.9697 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.7202, allocations: 1.066 MB / 0.9707 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.7216, allocations: 1.756 MB / 0.9724 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/0.7243, allocations: 3.049 MB / 0.9754 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.7243, allocations: 11.94 kB / 0.9754 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004259/0.7286, allocations: 3.911 MB / 0.9792 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.7286, allocations: 12 kB / 0.9792 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.7286, allocations: 28 kB / 0.9793 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.7301, allocations: 0.9234 MB / 0.9802 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.7312, allocations: 431.2 kB / 0.9806 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/0.7447, allocations: 21.38 MB / 1.001 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.7461, allocations: 119.9 kB / 1.002 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.7462, allocations: 95.94 kB / 1.002 GB, free: 5.457 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002119/0.7483, allocations: 1.65 MB / 1.003 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003937/0.7487, allocations: 270.4 kB / 1.004 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/0.7521, allocations: 3.232 MB / 1.007 GB, free: 256 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.7521, allocations: 19.94 kB / 1.007 GB, free: 236 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/0.7521, allocations: 8 kB / 1.007 GB, free: 228 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.7521, allocations: 11.97 kB / 1.007 GB, free: 216 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008272/0.7604, allocations: 7.166 MB / 1.014 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.7604, allocations: 4 kB / 1.014 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.7609, allocations: 215.6 kB / 1.014 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.7622, allocations: 0.8887 MB / 1.015 GB, free: 7.758 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-05/0.7623, allocations: 32 kB / 1.015 GB, free: 7.727 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.7754, allocations: 21.35 MB / 1.036 GB, free: 0.9961 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.7754, allocations: 4 kB / 1.036 GB, free: 0.9922 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004337/0.7797, allocations: 3.369 MB / 1.039 GB, free: 13.51 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009937/0.7807, allocations: 482.1 kB / 1.039 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.7809, allocations: 31.94 kB / 1.039 GB, free: 13.01 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.7816, allocations: 100 kB / 1.04 GB, free: 12.91 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003629/0.782, allocations: 152.8 kB / 1.04 GB, free: 12.76 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/0.7821, allocations: 48 kB / 1.04 GB, free: 12.71 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001413/0.7835, allocations: 1.217 MB / 1.041 GB, free: 11.48 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.7835, allocations: 4 kB / 1.041 GB, free: 11.48 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002424/0.7859, allocations: 0.9023 MB / 1.042 GB, free: 10.57 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004148/0.79, allocations: 3.965 MB / 1.046 GB, free: 6.484 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004856/0.7949, allocations: 4.291 MB / 1.05 GB, free: 2.043 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.7949, allocations: 4 kB / 1.05 GB, free: 2.039 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002427/0.7973, allocations: 2.918 MB / 1.053 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.7999, allocations: 0.8288 MB / 1.054 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03029/0.8301, allocations: 25.23 MB / 1.078 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002931/0.8331, allocations: 2.665 MB / 1.081 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001315/0.8344, allocations: 0.537 MB / 1.081 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/0.8358, allocations: 1.651 MB / 1.083 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of SimCode: time 1.563e-06/0.8358, allocations: 0 / 1.083 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4665/1.302, allocations: 74.98 MB / 1.156 GB, free: 277.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.783/10.09, allocations: 5.594 kB / 1.156 GB, free: 277.2 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.172830001916736] Failed to read output from testmodel.py, exit status != 0: 10.19734916696325 10.207331766 9.577268565 Calling exit ...