Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001254/0.001254, allocations: 113.9 kB / 18.94 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.001587/0.001587, allocations: 217.2 kB / 22.26 MB, free: 3.699 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.9838/0.9838, allocations: 230.6 MB / 256 MB, free: 9.805 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.8199/0.8199, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.0015/0.0015, allocations: 74.47 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.5635, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03318/0.5967, allocations: 39.79 MB / 0.8567 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01927/0.616, allocations: 11.45 MB / 0.8679 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004256/0.6202, allocations: 203.3 kB / 0.8681 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.007101/0.6273, allocations: 4.56 MB / 0.8726 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006747/0.6341, allocations: 2.328 MB / 0.8748 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0057/0.6398, allocations: 2.246 MB / 0.877 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01186/0.6516, allocations: 9.279 MB / 0.8861 GB, free: 44 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009779/0.6614, allocations: 6.398 MB / 0.8923 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0071/0.6685, allocations: 4.106 MB / 0.8963 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007148/0.6757, allocations: 4.747 MB / 0.901 GB, free: 0.6484 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002515/0.6782, allocations: 0.8242 MB / 0.9018 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005182/0.6834, allocations: 1.607 MB / 0.9034 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004824/0.6882, allocations: 3.238 MB / 0.9065 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006608/0.6948, allocations: 3.649 MB / 0.9101 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.7092, allocations: 12.36 MB / 0.9222 GB, free: 10.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.7092, allocations: 3.938 kB / 0.9222 GB, free: 10.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7093, allocations: 4 kB / 0.9222 GB, free: 10.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004694/0.7097, allocations: 0 / 0.9222 GB, free: 10.89 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01548/0.7252, allocations: 6.395 MB / 0.9284 GB, free: 4.438 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.7253, allocations: 8.031 kB / 0.9284 GB, free: 4.43 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002576/0.7278, allocations: 0.8255 MB / 0.9292 GB, free: 3.594 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004259/0.7321, allocations: 1.102 MB / 0.9303 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006721/0.7388, allocations: 3.576 MB / 0.9338 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002942/0.7391, allocations: 419.8 kB / 0.9342 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001722/0.7408, allocations: 0.5433 MB / 0.9347 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/0.759, allocations: 9.373 MB / 0.9439 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000163/0.7592, allocations: 19.83 kB / 0.9439 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001211/0.7604, allocations: 251.9 kB / 0.9441 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000431/0.7609, allocations: 422.9 kB / 0.9445 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.7736, allocations: 7.127 MB / 0.9515 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04165/0.8153, allocations: 40.71 MB / 0.9912 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.8185, allocations: 2.913 MB / 0.9941 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.8204, allocations: 1.934 MB / 0.996 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.674e-05/0.8205, allocations: 22 kB / 0.996 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.8206, allocations: 64.5 kB / 0.9961 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=209): time 3.246e-06/0.8206, allocations: 0 / 0.9961 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=212): time 0.01636/0.8369, allocations: 10.27 MB / 1.006 GB, free: 0.6836 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.837, allocations: 73.41 kB / 1.006 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.8393, allocations: 2.009 MB / 1.008 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002625/0.8396, allocations: 65.7 kB / 1.008 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.8408, allocations: 2.478 MB / 1.011 GB, free: 12 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007752/0.8416, allocations: 0.763 MB / 1.011 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005692/0.8422, allocations: 485.5 kB / 1.012 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003445/0.8425, allocations: 305.1 kB / 1.012 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.8441, allocations: 1.368 MB / 1.013 GB, free: 9.074 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.846, allocations: 2.108 MB / 1.016 GB, free: 6.652 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/0.8498, allocations: 3.766 MB / 1.019 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.8498, allocations: 8 kB / 1.019 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005542/0.8554, allocations: 5.027 MB / 1.024 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.8554, allocations: 16.22 kB / 1.024 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.8554, allocations: 24 kB / 1.024 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/0.8579, allocations: 1.587 MB / 1.026 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.859, allocations: 451.3 kB / 1.026 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01524/0.8742, allocations: 18.19 MB / 1.044 GB, free: 8.789 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.876, allocations: 152 kB / 1.044 GB, free: 8.641 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/0.8763, allocations: 108 kB / 1.044 GB, free: 8.535 MB / 0.823 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 (231): * Single equations (assignments): 227 * 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): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003092/0.8794, allocations: 1.945 MB / 1.046 GB, free: 6.578 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006096/0.88, allocations: 298.2 kB / 1.046 GB, free: 6.285 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005406/0.8854, allocations: 4.404 MB / 1.051 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.8854, allocations: 20 kB / 1.051 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.266e-05/0.8855, allocations: 20 kB / 1.051 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.8855, allocations: 7.969 kB / 1.051 GB, free: 1.805 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.9003, allocations: 9.601 MB / 1.06 GB, free: 8.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.639e-06/0.9003, allocations: 4 kB / 1.06 GB, free: 8.059 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/0.9009, allocations: 235.6 kB / 1.06 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002297/0.9032, allocations: 1.438 MB / 1.062 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.9033, allocations: 40 kB / 1.062 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/0.9186, allocations: 18.18 MB / 1.079 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.9186, allocations: 4 kB / 1.079 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005861/0.9245, allocations: 4.503 MB / 1.084 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.9258, allocations: 0.5644 MB / 1.084 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/0.9262, allocations: 40 kB / 1.084 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008649/0.9271, allocations: 119.8 kB / 1.085 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005198/0.9276, allocations: 193.3 kB / 1.085 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.9277, allocations: 60 kB / 1.085 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001684/0.9294, allocations: 1.311 MB / 1.086 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9294, allocations: 0 / 1.086 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002916/0.9323, allocations: 1.145 MB / 1.087 GB, free: 11.67 MB / 0.8698 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 (107): * Single equations (assignments): 103 * 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): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005427/0.9377, allocations: 5.118 MB / 1.092 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005573/0.9433, allocations: 4.544 MB / 1.097 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.9433, allocations: 4 kB / 1.097 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003359/0.9466, allocations: 2.8 MB / 1.099 GB, free: 15 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.9499, allocations: 0.8971 MB / 1.1 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0412/0.9911, allocations: 30.58 MB / 1.13 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00439/0.9955, allocations: 3.694 MB / 1.134 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001631/0.9971, allocations: 0.5518 MB / 1.134 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002079/0.9992, allocations: 1.944 MB / 1.136 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of SimCode: time 1.643e-06/0.9992, allocations: 0 / 1.136 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4668/1.466, allocations: 88.18 MB / 1.222 GB, free: 236.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/12, allocations: 2.031 kB / 1.222 GB, free: 236.8 MB / 0.9167 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_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_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.197931729024276] Failed to read output from testmodel.py, exit status != 0: 12.117480817018077 12.123575871 11.412568546 Calling exit ...