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.001094/0.001094, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0009177/0.0009177, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9683/0.9683, allocations: 230.6 MB / 256 MB, free: 9.629 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.7935/0.7935, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.0009768/0.0009768, allocations: 66.52 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5048, 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_R): time 0.02854/0.5333, allocations: 36.8 MB / 0.8538 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.5476, allocations: 10.34 MB / 0.8639 GB, free: 160 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003711/0.5514, allocations: 194.9 kB / 0.8641 GB, free: 64 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.006784/0.5581, allocations: 3.968 MB / 0.868 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007036/0.5652, allocations: 2.148 MB / 0.8701 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00496/0.5701, allocations: 2.042 MB / 0.8721 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01037/0.5805, allocations: 7.971 MB / 0.8799 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009443/0.59, allocations: 5.287 MB / 0.885 GB, free: 1.043 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007276/0.5972, allocations: 3.467 MB / 0.8884 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005837/0.6031, allocations: 3.937 MB / 0.8922 GB, free: 9.613 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00224/0.6053, allocations: 0.6835 MB / 0.8929 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/0.6089, allocations: 1.467 MB / 0.8943 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002943/0.6118, allocations: 2.689 MB / 0.897 GB, free: 4.77 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004762/0.6166, allocations: 3.104 MB / 0.9 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.009441/0.626, allocations: 10.42 MB / 0.9102 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.626, allocations: 0 / 0.9102 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.626, allocations: 0 / 0.9102 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002618/0.6263, allocations: 0 / 0.9102 GB, free: 7.199 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.008977/0.6353, allocations: 5.467 MB / 0.9155 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.6353, allocations: 8.031 kB / 0.9155 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009504/0.6363, allocations: 0.6984 MB / 0.9162 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.639, allocations: 0.9882 MB / 0.9172 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004796/0.6438, allocations: 3.132 MB / 0.9202 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.644, allocations: 365.9 kB / 0.9206 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.645, allocations: 464.3 kB / 0.921 GB, free: 11.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.6583, allocations: 7.911 MB / 0.9287 GB, free: 3.684 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.987e-05/0.6584, allocations: 19.81 kB / 0.9288 GB, free: 3.664 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000602/0.659, allocations: 211.9 kB / 0.929 GB, free: 3.457 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003762/0.6594, allocations: 369.1 kB / 0.9293 GB, free: 3.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.6697, allocations: 5.937 MB / 0.9351 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03204/0.7017, allocations: 35.69 MB / 0.97 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.7043, allocations: 1.986 MB / 0.9719 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.7059, allocations: 1.336 MB / 0.9732 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.702e-05/0.706, allocations: 29.28 kB / 0.9732 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.706, allocations: 51.88 kB / 0.9733 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=157): time 3.146e-06/0.706, allocations: 0 / 0.9733 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of matching and sorting (n=160): time 0.01111/0.7171, allocations: 6.667 MB / 0.9798 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.7172, allocations: 68.72 kB / 0.9799 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/0.7196, allocations: 1.86 MB / 0.9817 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002058/0.7198, allocations: 53.7 kB / 0.9817 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.721, allocations: 2.2 MB / 0.9839 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/0.7215, allocations: 0.5849 MB / 0.9845 GB, free: 7.215 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/0.7219, allocations: 400 kB / 0.9848 GB, free: 6.816 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.013e-05/0.722, allocations: 309.1 kB / 0.9851 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.7231, allocations: 1.058 MB / 0.9862 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.7246, allocations: 1.756 MB / 0.9879 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/0.7275, allocations: 3.052 MB / 0.9909 GB, free: 4 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.7276, allocations: 4 kB / 0.9909 GB, free: 0 / 0.7605 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004653/0.7322, allocations: 3.903 MB / 0.9947 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.7322, allocations: 19.94 kB / 0.9947 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.7323, allocations: 27.98 kB / 0.9947 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.7338, allocations: 0.9314 MB / 0.9956 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.735, allocations: 427.2 kB / 0.996 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/0.7495, allocations: 21.54 MB / 1.017 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.7514, allocations: 123.9 kB / 1.017 GB, free: 3.578 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.7516, allocations: 92 kB / 1.017 GB, free: 3.488 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 (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.002786/0.7544, allocations: 1.652 MB / 1.019 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005061/0.7549, allocations: 270.4 kB / 1.019 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/0.7588, allocations: 3.228 MB / 1.022 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.7588, allocations: 16 kB / 1.022 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/0.7588, allocations: 12 kB / 1.022 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.7588, allocations: 7.969 kB / 1.022 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0099/0.7687, allocations: 7.509 MB / 1.03 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.7687, allocations: 8.094 kB / 1.03 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/0.7693, allocations: 219.6 kB / 1.03 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/0.771, allocations: 0.8921 MB / 1.031 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-05/0.771, allocations: 32 kB / 1.031 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/0.7854, allocations: 21.51 MB / 1.052 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.7854, allocations: 11.88 kB / 1.052 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.7896, allocations: 3.365 MB / 1.055 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.7906, allocations: 474.2 kB / 1.056 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.7908, allocations: 36.17 kB / 1.056 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006393/0.7915, allocations: 91.89 kB / 1.056 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/0.7918, allocations: 156.9 kB / 1.056 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/0.7919, allocations: 40 kB / 1.056 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001361/0.7932, allocations: 1.229 MB / 1.057 GB, free: 9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7932, allocations: 0 / 1.057 GB, free: 9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002349/0.7956, allocations: 0.9062 MB / 1.058 GB, free: 8.094 MB / 0.8386 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.004178/0.7997, allocations: 3.971 MB / 1.062 GB, free: 4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004958/0.8047, allocations: 4.291 MB / 1.066 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.8047, allocations: 4 kB / 1.066 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002575/0.8073, allocations: 2.906 MB / 1.069 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.8098, allocations: 0.8307 MB / 1.07 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03363/0.8435, allocations: 25.25 MB / 1.094 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002809/0.8463, allocations: 3.213 MB / 1.097 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001438/0.8477, allocations: 0.5293 MB / 1.098 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/0.8495, allocations: 1.651 MB / 1.1 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of SimCode: time 1.573e-06/0.8495, allocations: 0 / 1.1 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5108/1.36, allocations: 72.56 MB / 1.17 GB, free: 276.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.8, allocations: 8.875 kB / 1.17 GB, free: 276.8 MB / 0.9167 GB " [Timeout remaining time 648] (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: 14.843852282036096] Failed to read output from testmodel.py, exit status != 0: 11.916702413000166 11.925019841 11.297039796 Calling exit ...