Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0008323/0.0008323, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008746/0.0008746, allocations: 213.8 kB / 22.26 MB, free: 3.703 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.9199/0.9199, allocations: 230.6 MB / 256 MB, free: 9.828 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.7947/0.7947, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.0009948/0.0009948, allocations: 66.02 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4812, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02741/0.5086, allocations: 34.27 MB / 0.8513 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01433/0.5229, allocations: 10.68 MB / 0.8618 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.5257, allocations: 196.7 kB / 0.862 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004643/0.5304, allocations: 3.896 MB / 0.8658 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00391/0.5343, allocations: 1.949 MB / 0.8677 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003611/0.5379, allocations: 2.193 MB / 0.8698 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007516/0.5454, allocations: 7.335 MB / 0.877 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006841/0.5522, allocations: 5.15 MB / 0.882 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004493/0.5567, allocations: 3.265 MB / 0.8852 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004018/0.5608, allocations: 3.68 MB / 0.8888 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0008692/0.5616, allocations: 0.6445 MB / 0.8894 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.5642, allocations: 1.814 MB / 0.8912 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.5661, allocations: 2.615 MB / 0.8937 GB, free: 8.074 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004342/0.5704, allocations: 2.902 MB / 0.8966 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.5822, allocations: 10.13 MB / 0.9065 GB, free: 11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5822, allocations: 0 / 0.9065 GB, free: 11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5822, allocations: 0 / 0.9065 GB, free: 11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000363/0.5826, allocations: 0 / 0.9065 GB, free: 11 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01207/0.5947, allocations: 5.06 MB / 0.9114 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5947, allocations: 12.03 kB / 0.9114 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001684/0.5964, allocations: 0.6898 MB / 0.9121 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/0.6014, allocations: 0.9774 MB / 0.913 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007273/0.6086, allocations: 2.995 MB / 0.916 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.6089, allocations: 349.7 kB / 0.9163 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.6106, allocations: 460.3 kB / 0.9167 GB, free: 340 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/0.6298, allocations: 7.671 MB / 0.9242 GB, free: 8.312 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/0.63, allocations: 31.7 kB / 0.9243 GB, free: 8.281 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/0.631, allocations: 200 kB / 0.9245 GB, free: 8.086 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003356/0.6314, allocations: 312.9 kB / 0.9248 GB, free: 7.777 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01314/0.6445, allocations: 5.706 MB / 0.9303 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03919/0.6837, allocations: 34.57 MB / 0.9641 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.686, allocations: 1.559 MB / 0.9656 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.6876, allocations: 1.124 MB / 0.9667 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.046e-05/0.6876, allocations: 17.31 kB / 0.9667 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.6877, allocations: 43.88 kB / 0.9668 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=133): time 4.499e-06/0.6877, allocations: 0 / 0.9668 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=136): time 0.009495/0.6972, allocations: 6.207 MB / 0.9728 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.6972, allocations: 72.66 kB / 0.9729 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.6989, allocations: 1.496 MB / 0.9744 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.6989, allocations: 49.7 kB / 0.9744 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000883/0.6998, allocations: 2.062 MB / 0.9764 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.7001, allocations: 0.4997 MB / 0.9769 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/0.7004, allocations: 355.3 kB / 0.9772 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.492e-05/0.7005, allocations: 301.1 kB / 0.9775 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008914/0.7014, allocations: 0.9096 MB / 0.9784 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.7026, allocations: 1.585 MB / 0.98 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/0.7051, allocations: 2.745 MB / 0.9826 GB, free: 8.477 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.7051, allocations: 4 kB / 0.9826 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003864/0.709, allocations: 3.508 MB / 0.9861 GB, free: 4.922 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.709, allocations: 21.97 kB / 0.9861 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.709, allocations: 32.09 kB / 0.9861 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.7105, allocations: 0.9037 MB / 0.987 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008964/0.7114, allocations: 351.4 kB / 0.9873 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/0.7249, allocations: 21.88 MB / 1.009 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.7259, allocations: 104 kB / 1.009 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.726, allocations: 91.97 kB / 1.009 GB, free: 12.14 MB / 0.7917 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002066/0.7281, allocations: 1.615 MB / 1.01 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.7284, allocations: 218.6 kB / 1.011 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/0.7316, allocations: 2.963 MB / 1.014 GB, free: 7.297 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.7316, allocations: 12 kB / 1.014 GB, free: 7.285 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/0.7317, allocations: 12 kB / 1.014 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.7317, allocations: 7.969 kB / 1.014 GB, free: 7.266 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00881/0.7405, allocations: 7.289 MB / 1.021 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.7405, allocations: 8 kB / 1.021 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.7409, allocations: 175.7 kB / 1.021 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/0.7423, allocations: 0.8262 MB / 1.022 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.203e-05/0.7423, allocations: 32 kB / 1.022 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/0.7556, allocations: 20.73 MB / 1.042 GB, free: 8.566 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.7556, allocations: 11.94 kB / 1.042 GB, free: 8.555 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003936/0.7595, allocations: 3.011 MB / 1.045 GB, free: 5.43 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007868/0.7603, allocations: 390.7 kB / 1.045 GB, free: 5.047 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.7605, allocations: 31.98 kB / 1.045 GB, free: 5.016 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.7609, allocations: 71.91 kB / 1.045 GB, free: 4.945 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/0.7612, allocations: 128.6 kB / 1.046 GB, free: 4.816 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.7613, allocations: 40 kB / 1.046 GB, free: 4.777 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009996/0.7623, allocations: 0.9756 MB / 1.047 GB, free: 3.777 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7623, allocations: 0 / 1.047 GB, free: 3.777 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00209/0.7644, allocations: 0.7891 MB / 1.047 GB, free: 2.988 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003613/0.768, allocations: 3.603 MB / 1.051 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003718/0.7717, allocations: 3.922 MB / 1.055 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.7717, allocations: 0 / 1.055 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002641/0.7743, allocations: 2.666 MB / 1.057 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.7765, allocations: 0.7351 MB / 1.058 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03061/0.8072, allocations: 22.52 MB / 1.08 GB, free: 140 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/0.8101, allocations: 3.117 MB / 1.083 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001022/0.8112, allocations: 450 kB / 1.083 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/0.8127, allocations: 1.534 MB / 1.085 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of SimCode: time 1.633e-06/0.8127, allocations: 7.938 kB / 1.085 GB, free: 11 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4563/1.269, allocations: 63.42 MB / 1.147 GB, free: 271.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.705/10.97, allocations: 4.109 kB / 1.147 GB, free: 271.2 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.94157245894894] Failed to read output from testmodel.py, exit status != 0: 11.079091916792095 11.095435165 10.510392051 Calling exit ...