Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001144/0.001144, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001095/0.001095, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.9283/0.9283, allocations: 177.1 MB / 202.8 MB, free: 5.543 MB / 186.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.7149/0.7149, allocations: 154.6 MB / 413.7 MB, free: 0.7734 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.955e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03935/0.03938, allocations: 32.98 MB / 0.6503 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01416/0.05354, allocations: 11.37 MB / 0.6614 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/0.0563, allocations: 206.5 kB / 0.6616 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.006023/0.06233, allocations: 4.28 MB / 0.6658 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006254/0.06858, allocations: 2.148 MB / 0.6679 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005411/0.07399, allocations: 2.437 MB / 0.6702 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.3069/0.3809, allocations: 8.606 MB / 0.6786 GB, free: 51.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007185/0.3881, allocations: 6.181 MB / 0.6847 GB, free: 51.47 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007274/0.3954, allocations: 5.395 MB / 0.6899 GB, free: 51.47 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005338/0.4007, allocations: 3.903 MB / 0.6938 GB, free: 51.47 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001741/0.4025, allocations: 0.7803 MB / 0.6945 GB, free: 51.47 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003532/0.406, allocations: 1.925 MB / 0.6964 GB, free: 51.46 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002884/0.4089, allocations: 3.273 MB / 0.6996 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003636/0.4125, allocations: 2.373 MB / 0.7019 GB, free: 50.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.4259, allocations: 12.24 MB / 0.7139 GB, free: 49.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4259, allocations: 1.094 kB / 0.7139 GB, free: 49.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4259, allocations: 0 / 0.7139 GB, free: 49.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004904/0.4264, allocations: 1.125 kB / 0.7139 GB, free: 49.3 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01604/0.4424, allocations: 5.807 MB / 0.7195 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4425, allocations: 11.69 kB / 0.7196 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002431/0.4449, allocations: 0.8062 MB / 0.7203 GB, free: 45.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004596/0.4495, allocations: 1.102 MB / 0.7214 GB, free: 45.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006228/0.4557, allocations: 3.411 MB / 0.7247 GB, free: 43.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/0.456, allocations: 424.4 kB / 0.7252 GB, free: 43.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.4573, allocations: 0.5366 MB / 0.7257 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/0.4742, allocations: 9.378 MB / 0.7348 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001855/0.4744, allocations: 34.42 kB / 0.7349 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000912/0.4753, allocations: 238.8 kB / 0.7351 GB, free: 39.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003663/0.4757, allocations: 355.6 kB / 0.7354 GB, free: 39.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01282/0.4885, allocations: 6.813 MB / 0.7421 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0295/0.518, allocations: 25.1 MB / 0.7666 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.5201, allocations: 2.286 MB / 0.7688 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.5217, allocations: 1.775 MB / 0.7706 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.557e-05/0.5217, allocations: 21.06 kB / 0.7706 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.5218, allocations: 49.66 kB / 0.7706 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=179): time 3.387e-06/0.5218, allocations: 0 / 0.7706 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=182): time 0.01518/0.5369, allocations: 9.684 MB / 0.7801 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.537, allocations: 80.53 kB / 0.7802 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.5384, allocations: 1.564 MB / 0.7817 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.956e-05/0.5385, allocations: 53.7 kB / 0.7817 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005512/0.539, allocations: 2.324 MB / 0.784 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.5393, allocations: 0.6539 MB / 0.7847 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/0.5396, allocations: 412.1 kB / 0.7851 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.924e-05/0.5397, allocations: 301.1 kB / 0.7853 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000951/0.5406, allocations: 1.179 MB / 0.7865 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.5417, allocations: 1.882 MB / 0.7883 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.5439, allocations: 3.373 MB / 0.7916 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.5439, allocations: 4 kB / 0.7916 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004914/0.5488, allocations: 4.537 MB / 0.7961 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.5488, allocations: 16 kB / 0.7961 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.5489, allocations: 20 kB / 0.7961 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.5511, allocations: 1.583 MB / 0.7976 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.5519, allocations: 354.6 kB / 0.798 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01619/0.5681, allocations: 17.94 MB / 0.8155 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.5696, allocations: 119.8 kB / 0.8156 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.5698, allocations: 104 kB / 0.8157 GB, free: 7.66 MB / 0.6667 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003486/0.5733, allocations: 1.893 MB / 0.8176 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000471/0.5738, allocations: 242 kB / 0.8178 GB, free: 5.551 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004896/0.5786, allocations: 4.04 MB / 0.8217 GB, free: 1.543 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.5787, allocations: 19.94 kB / 0.8218 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.803e-05/0.5787, allocations: 20 kB / 0.8218 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.5787, allocations: 7.969 kB / 0.8218 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.5903, allocations: 8.656 MB / 0.8302 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.5903, allocations: 4 kB / 0.8302 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.5908, allocations: 182.8 kB / 0.8304 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.5927, allocations: 1.354 MB / 0.8317 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.283e-05/0.5928, allocations: 36 kB / 0.8318 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.6069, allocations: 16.73 MB / 0.8481 GB, free: 6.113 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.6069, allocations: 7.75 kB / 0.8481 GB, free: 6.109 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.612, allocations: 4.023 MB / 0.852 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.6131, allocations: 478.3 kB / 0.8525 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/0.6133, allocations: 39.98 kB / 0.8525 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006423/0.614, allocations: 83.89 kB / 0.8526 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004395/0.6144, allocations: 177.3 kB / 0.8528 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.115e-05/0.6145, allocations: 52 kB / 0.8528 GB, free: 1.242 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001069/0.6156, allocations: 1.005 MB / 0.8538 GB, free: 220 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6156, allocations: 0 / 0.8538 GB, free: 220 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.002959/0.6185, allocations: 0.9844 MB / 0.8548 GB, free: 15.23 MB / 0.7136 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004579/0.6231, allocations: 4.613 MB / 0.8593 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004682/0.6278, allocations: 4.181 MB / 0.8634 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6278, allocations: 0 / 0.8634 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/0.6303, allocations: 2.561 MB / 0.8659 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.6326, allocations: 0.789 MB / 0.8666 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0374/0.67, allocations: 27.02 MB / 0.893 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004249/0.6743, allocations: 3.032 MB / 0.896 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001219/0.6755, allocations: 471.9 kB / 0.8964 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/0.6772, allocations: 1.793 MB / 0.8982 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of SimCode: time 1.763e-06/0.6772, allocations: 0 / 0.8982 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/0.7833, allocations: 78.46 MB / 0.9748 GB, free: 4.617 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.675/9.459, allocations: 7.469 kB / 0.9748 GB, free: 4.613 MB / 0.823 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.350538131780922] Failed to read output from testmodel.py, exit status != 0: 9.577246789820492 9.584730313 9.156787693 Calling exit ...