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.0009357/0.0009357, 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.001105/0.001105, allocations: 217.7 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.9695/0.9695, allocations: 230.6 MB / 256 MB, free: 9.812 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.8054/0.8054, allocations: 203.8 MB / 0.5041 GB, free: 10.75 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_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: 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.0009038/0.0009038, allocations: 64.53 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5023/0.5033, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03133/0.5346, allocations: 36.65 MB / 0.8537 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01733/0.5519, allocations: 11.98 MB / 0.8654 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003947/0.5559, allocations: 214.3 kB / 0.8656 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.007583/0.5634, allocations: 4.449 MB / 0.8699 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006209/0.5697, allocations: 2.085 MB / 0.872 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006105/0.5758, allocations: 2.469 MB / 0.8744 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01032/0.5861, allocations: 8.472 MB / 0.8826 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009851/0.5959, allocations: 6.24 MB / 0.8887 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007025/0.603, allocations: 3.837 MB / 0.8925 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007001/0.61, allocations: 4.428 MB / 0.8968 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002678/0.6126, allocations: 0.7812 MB / 0.8976 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005338/0.618, allocations: 2.071 MB / 0.8996 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00568/0.6236, allocations: 3.133 MB / 0.9027 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006481/0.6301, allocations: 3.4 MB / 0.906 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.6445, allocations: 12.02 MB / 0.9177 GB, free: 15.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.6445, allocations: 4 kB / 0.9177 GB, free: 15.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6445, allocations: 0 / 0.9177 GB, free: 15.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004388/0.6449, allocations: 7.938 kB / 0.9177 GB, free: 15.5 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01332/0.6582, allocations: 5.867 MB / 0.9235 GB, free: 9.566 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.6583, allocations: 8.031 kB / 0.9235 GB, free: 9.559 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001751/0.66, allocations: 0.8051 MB / 0.9242 GB, free: 8.742 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003681/0.6637, allocations: 1.09 MB / 0.9253 GB, free: 7.648 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005785/0.6695, allocations: 3.411 MB / 0.9286 GB, free: 4.172 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/0.6697, allocations: 419.5 kB / 0.929 GB, free: 3.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/0.6715, allocations: 0.5431 MB / 0.9296 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.6876, allocations: 9.079 MB / 0.9384 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/0.6877, allocations: 23.83 kB / 0.9385 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005169/0.6882, allocations: 236 kB / 0.9387 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002388/0.6885, allocations: 350.8 kB / 0.939 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/0.6997, allocations: 6.826 MB / 0.9457 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/0.7344, allocations: 39.5 MB / 0.9843 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.7371, allocations: 2.301 MB / 0.9865 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.7389, allocations: 1.771 MB / 0.9882 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.651e-05/0.739, allocations: 22 kB / 0.9883 GB, free: 3.078 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.739, allocations: 52.55 kB / 0.9883 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=179): time 3.326e-06/0.739, allocations: 7.938 kB / 0.9883 GB, free: 3.012 MB / 0.7605 GB Notification: Performance of matching and sorting (n=182): time 0.01559/0.7546, allocations: 9.683 MB / 0.9978 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.7546, allocations: 69.41 kB / 0.9978 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.7566, allocations: 1.53 MB / 0.9993 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001709/0.7568, allocations: 53.7 kB / 0.9994 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.7578, allocations: 2.324 MB / 1.002 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005004/0.7583, allocations: 0.6623 MB / 1.002 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/0.7588, allocations: 416 kB / 1.003 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.7589, allocations: 317 kB / 1.003 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.7601, allocations: 1.176 MB / 1.004 GB, free: 2.676 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.762, allocations: 1.881 MB / 1.006 GB, free: 492 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/0.7652, allocations: 3.371 MB / 1.009 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/0.7652, allocations: 11.94 kB / 1.009 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005723/0.771, allocations: 4.535 MB / 1.014 GB, free: 8.227 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.771, allocations: 16 kB / 1.014 GB, free: 8.211 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.771, allocations: 20 kB / 1.014 GB, free: 8.191 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/0.7736, allocations: 1.591 MB / 1.015 GB, free: 6.594 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009105/0.7746, allocations: 351.4 kB / 1.016 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/0.791, allocations: 18.18 MB / 1.033 GB, free: 3.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.7923, allocations: 119.9 kB / 1.034 GB, free: 3.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.7924, allocations: 96 kB / 1.034 GB, free: 3.406 MB / 0.8073 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.002795/0.7952, allocations: 1.894 MB / 1.035 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/0.7955, allocations: 234.5 kB / 1.036 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004735/0.8002, allocations: 4.04 MB / 1.04 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.8003, allocations: 16 kB / 1.04 GB, free: 13.18 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.35e-05/0.8003, allocations: 20 kB / 1.04 GB, free: 13.16 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.8003, allocations: 11.91 kB / 1.04 GB, free: 13.15 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.8126, allocations: 9.421 MB / 1.049 GB, free: 3.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.8126, allocations: 4 kB / 1.049 GB, free: 3.477 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.8131, allocations: 179.7 kB / 1.049 GB, free: 3.301 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002338/0.8154, allocations: 1.352 MB / 1.05 GB, free: 1.941 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.8156, allocations: 39.94 kB / 1.05 GB, free: 1.902 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/0.8314, allocations: 16.95 MB / 1.067 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.8314, allocations: 11.94 kB / 1.067 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005057/0.8364, allocations: 4.036 MB / 1.071 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009254/0.8374, allocations: 470.4 kB / 1.071 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.8375, allocations: 43.92 kB / 1.071 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/0.838, allocations: 87.89 kB / 1.071 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/0.8384, allocations: 165.6 kB / 1.072 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/0.8384, allocations: 48 kB / 1.072 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001099/0.8395, allocations: 1.005 MB / 1.073 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.8395, allocations: 0 / 1.073 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002351/0.8419, allocations: 0.9844 MB / 1.074 GB, free: 9.543 MB / 0.8542 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.004672/0.8465, allocations: 4.626 MB / 1.078 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004734/0.8513, allocations: 4.163 MB / 1.082 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.8513, allocations: 1 kB / 1.082 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003013/0.8543, allocations: 2.579 MB / 1.085 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.8566, allocations: 0.7809 MB / 1.085 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0375/0.8941, allocations: 27.03 MB / 1.112 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004446/0.8985, allocations: 3.569 MB / 1.115 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001217/0.8997, allocations: 471.9 kB / 1.116 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/0.9018, allocations: 1.784 MB / 1.118 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of SimCode: time 2.545e-06/0.9018, allocations: 0 / 1.118 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4571/1.359, allocations: 76.46 MB / 1.192 GB, free: 265.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.877/11.24, allocations: 6.375 kB / 1.192 GB, free: 265.1 MB / 0.9167 GB " [Timeout remaining time 649] (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: 14.32821202580817] Failed to read output from testmodel.py, exit status != 0: 11.343860286986455 11.353625315 10.706789863 Calling exit ...