Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0008623/0.0008623, 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.001451/0.001451, 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.9558/0.9558, 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.8014/0.8014, 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_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001038/0.001038, allocations: 72.75 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4649, 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_N): time 0.02802/0.493, allocations: 34.8 MB / 0.8519 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.5109, allocations: 15.32 MB / 0.8668 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003199/0.5141, allocations: 211.6 kB / 0.867 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00464/0.5187, allocations: 3.817 MB / 0.8708 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005194/0.5239, allocations: 3.016 MB / 0.8737 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003681/0.5276, allocations: 2.377 MB / 0.876 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007938/0.5355, allocations: 8.818 MB / 0.8846 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005394/0.5409, allocations: 5.559 MB / 0.8901 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004624/0.5455, allocations: 4.067 MB / 0.894 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004214/0.5498, allocations: 4.271 MB / 0.8982 GB, free: 3.461 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0009619/0.5507, allocations: 0.7148 MB / 0.8989 GB, free: 2.746 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.5534, allocations: 1.755 MB / 0.9006 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001862/0.5552, allocations: 2.887 MB / 0.9034 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002722/0.558, allocations: 3.392 MB / 0.9067 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007501/0.5655, allocations: 11.22 MB / 0.9177 GB, free: 15.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.5655, allocations: 4 kB / 0.9177 GB, free: 15.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5655, allocations: 0 / 0.9177 GB, free: 15.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001312/0.5656, allocations: 3.984 kB / 0.9177 GB, free: 15.42 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.006949/0.5726, allocations: 6.049 MB / 0.9236 GB, free: 9.305 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5726, allocations: 16.02 kB / 0.9236 GB, free: 9.289 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006291/0.5732, allocations: 0.7309 MB / 0.9243 GB, free: 8.547 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003096/0.5763, allocations: 1.172 MB / 0.9255 GB, free: 7.371 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003858/0.5802, allocations: 3.458 MB / 0.9289 GB, free: 3.824 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.5803, allocations: 378.4 kB / 0.9292 GB, free: 3.453 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000454/0.5808, allocations: 0.4959 MB / 0.9297 GB, free: 2.957 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007647/0.5884, allocations: 7.997 MB / 0.9375 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.372e-05/0.5885, allocations: 27.81 kB / 0.9375 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003392/0.5889, allocations: 212 kB / 0.9377 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005288/0.5894, allocations: 445.5 kB / 0.9382 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00664/0.596, allocations: 6.088 MB / 0.9441 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02346/0.6195, allocations: 34.65 MB / 0.978 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.6212, allocations: 1.907 MB / 0.9798 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.6227, allocations: 1.752 MB / 0.9815 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.639e-05/0.6228, allocations: 22 kB / 0.9816 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.6228, allocations: 56.5 kB / 0.9816 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=171): time 3.176e-06/0.6228, allocations: 0 / 0.9816 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of matching and sorting (n=276): time 0.07421/0.697, allocations: 38.71 MB / 1.019 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.6971, allocations: 81.58 kB / 1.019 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.6993, allocations: 2.278 MB / 1.022 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.6994, allocations: 73.7 kB / 1.022 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.7004, allocations: 2.342 MB / 1.024 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005282/0.7009, allocations: 0.9837 MB / 1.025 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005627/0.7015, allocations: 0.5063 MB / 1.026 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.7016, allocations: 304.9 kB / 1.026 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/0.7036, allocations: 1.977 MB / 1.028 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.7058, allocations: 2.599 MB / 1.03 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004679/0.7105, allocations: 4.929 MB / 1.035 GB, free: 2.887 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.7105, allocations: 8 kB / 1.035 GB, free: 2.879 MB / 0.8073 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009053/0.7195, allocations: 7.65 MB / 1.043 GB, free: 11.16 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.7196, allocations: 12 kB / 1.043 GB, free: 11.15 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.7196, allocations: 19.94 kB / 1.043 GB, free: 11.13 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005088/0.7247, allocations: 3.219 MB / 1.046 GB, free: 7.895 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008428/0.7255, allocations: 399.4 kB / 1.046 GB, free: 7.504 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02915/0.7547, allocations: 33.29 MB / 1.079 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.7569, allocations: 163.8 kB / 1.079 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.757, allocations: 104 kB / 1.079 GB, free: 5.25 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002358/0.7594, allocations: 1.801 MB / 1.081 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000349/0.7597, allocations: 349.8 kB / 1.081 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.7706, allocations: 7.228 MB / 1.088 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.7706, allocations: 28 kB / 1.088 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.655e-05/0.7707, allocations: 32 kB / 1.088 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/0.7707, allocations: 15.94 kB / 1.088 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/0.7877, allocations: 12.79 MB / 1.101 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.7877, allocations: 11.97 kB / 1.101 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.7882, allocations: 227.6 kB / 1.101 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004641/0.7928, allocations: 2.852 MB / 1.104 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.7929, allocations: 52 kB / 1.104 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02748/0.8204, allocations: 32.08 MB / 1.135 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.8204, allocations: 11.94 kB / 1.135 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007776/0.8282, allocations: 6.779 MB / 1.142 GB, free: 3.805 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.8293, allocations: 0.7242 MB / 1.142 GB, free: 3.078 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.8295, allocations: 59.89 kB / 1.142 GB, free: 3.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008962/0.8304, allocations: 179.7 kB / 1.143 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004893/0.8309, allocations: 265 kB / 1.143 GB, free: 2.582 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.831, allocations: 80 kB / 1.143 GB, free: 2.504 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001484/0.8325, allocations: 1.518 MB / 1.144 GB, free: 0.9844 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8325, allocations: 0 / 1.144 GB, free: 0.9844 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.3726/1.205, allocations: 1.369 MB / 1.146 GB, free: 282.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009537/1.215, allocations: 7.403 MB / 1.153 GB, free: 281.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.009074/1.224, allocations: 6.563 MB / 1.159 GB, free: 279.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.224, allocations: 1.219 kB / 1.159 GB, free: 279.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005931/1.23, allocations: 4.266 MB / 1.164 GB, free: 277.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004414/1.234, allocations: 1.109 MB / 1.165 GB, free: 277.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04946/1.284, allocations: 39.08 MB / 1.203 GB, free: 260.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00391/1.287, allocations: 3.638 MB / 1.206 GB, free: 258.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001794/1.289, allocations: 0.5497 MB / 1.207 GB, free: 258.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/1.291, allocations: 1.975 MB / 1.209 GB, free: 256.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.222e-06/1.291, allocations: 0 / 1.209 GB, free: 256.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/1.439, allocations: 115.4 MB / 1.321 GB, free: 142 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/13.39, allocations: 7.938 kB / 1.321 GB, free: 142 MB / 0.9167 GB " [Timeout remaining time 646] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.50472286203876] Failed to read output from testmodel.py, exit status != 0: 13.52861864399165 13.537871026 12.969776754 Calling exit ...