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.0008927/0.0008927, 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.001031/0.001031, allocations: 214.6 kB / 22.26 MB, free: 3.852 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.9307/0.9307, allocations: 230.6 MB / 256 MB, free: 3.453 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.779/0.779, allocations: 203.8 MB / 0.5042 GB, free: 0.7383 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.0008991/0.0008991, allocations: 63.89 kB / 0.7183 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4659, allocations: 102 MB / 0.8179 GB, free: 24.94 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0253/0.4913, allocations: 36.8 MB / 0.8538 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.5064, allocations: 10.34 MB / 0.8639 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002579/0.5089, allocations: 192.4 kB / 0.8641 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.005403/0.5143, allocations: 3.978 MB / 0.868 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.519, allocations: 2.156 MB / 0.8701 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.523, allocations: 2.027 MB / 0.8721 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007808/0.5308, allocations: 7.982 MB / 0.8799 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006169/0.537, allocations: 5.28 MB / 0.885 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004177/0.5412, allocations: 3.465 MB / 0.8884 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004085/0.5453, allocations: 3.941 MB / 0.8922 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0009706/0.5462, allocations: 0.6797 MB / 0.8929 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.5485, allocations: 1.467 MB / 0.8943 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001891/0.5504, allocations: 2.689 MB / 0.897 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002119/0.5525, allocations: 3.108 MB / 0.9 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006811/0.5593, allocations: 10.4 MB / 0.9102 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5593, allocations: 4 kB / 0.9102 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5593, allocations: 0 / 0.9102 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001057/0.5594, allocations: 0 / 0.9102 GB, free: 4.445 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.006187/0.5656, allocations: 5.471 MB / 0.9155 GB, free: 14.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5657, allocations: 9.469 kB / 0.9155 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000862/0.5665, allocations: 0.7023 MB / 0.9162 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/0.5689, allocations: 0.9851 MB / 0.9172 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003504/0.5724, allocations: 3.132 MB / 0.9202 GB, free: 10.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.5726, allocations: 357.9 kB / 0.9206 GB, free: 9.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004311/0.573, allocations: 468.3 kB / 0.921 GB, free: 9.203 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007886/0.5809, allocations: 7.911 MB / 0.9287 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-05/0.581, allocations: 19.88 kB / 0.9288 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003281/0.5813, allocations: 212 kB / 0.929 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000292/0.5816, allocations: 365.1 kB / 0.9293 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006288/0.5879, allocations: 5.937 MB / 0.9351 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02288/0.6108, allocations: 35.69 MB / 0.97 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.6131, allocations: 1.995 MB / 0.9719 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.6143, allocations: 1.34 MB / 0.9732 GB, free: 120 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/0.6144, allocations: 13.31 kB / 0.9732 GB, free: 104 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.6144, allocations: 59.81 kB / 0.9733 GB, free: 36 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=157): time 2.825e-06/0.6144, allocations: 0 / 0.9733 GB, free: 36 kB / 0.7448 GB Notification: Performance of matching and sorting (n=160): time 0.008301/0.6227, allocations: 6.667 MB / 0.9798 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.6228, allocations: 68.72 kB / 0.9799 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.6243, allocations: 1.864 MB / 0.9817 GB, free: 7.352 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/0.6244, allocations: 53.7 kB / 0.9817 GB, free: 7.293 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008861/0.6253, allocations: 2.188 MB / 0.9839 GB, free: 5.086 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005172/0.6258, allocations: 0.5849 MB / 0.9844 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/0.6262, allocations: 404 kB / 0.9848 GB, free: 4.094 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.6262, allocations: 305.1 kB / 0.9851 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.6273, allocations: 1.066 MB / 0.9862 GB, free: 2.723 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.6286, allocations: 1.756 MB / 0.9879 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.6314, allocations: 3.049 MB / 0.9909 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.6314, allocations: 4 kB / 0.9909 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003901/0.6353, allocations: 3.914 MB / 0.9947 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.6353, allocations: 16.94 kB / 0.9947 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.6354, allocations: 24 kB / 0.9947 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.6367, allocations: 0.9312 MB / 0.9956 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/0.6375, allocations: 431.3 kB / 0.996 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.6508, allocations: 21.54 MB / 1.017 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.6519, allocations: 123.9 kB / 1.017 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.652, allocations: 92 kB / 1.017 GB, free: 0.7617 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.002671/0.6547, allocations: 1.645 MB / 1.019 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.6549, allocations: 270.4 kB / 1.019 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/0.6583, allocations: 3.24 MB / 1.022 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6583, allocations: 16 kB / 1.022 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.6583, allocations: 12 kB / 1.022 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.6583, allocations: 7.969 kB / 1.022 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00805/0.6664, allocations: 7.505 MB / 1.03 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.6664, allocations: 4.562 kB / 1.03 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.6669, allocations: 219.6 kB / 1.03 GB, free: 3.645 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.6681, allocations: 0.8963 MB / 1.031 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.56e-05/0.6682, allocations: 28 kB / 1.031 GB, free: 2.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.6813, allocations: 21.53 MB / 1.052 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6813, allocations: 4 kB / 1.052 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003924/0.6852, allocations: 3.365 MB / 1.055 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006867/0.6859, allocations: 474.2 kB / 1.056 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.6861, allocations: 35.94 kB / 1.056 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/0.6866, allocations: 95.88 kB / 1.056 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.6869, allocations: 148.9 kB / 1.056 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.6869, allocations: 44 kB / 1.056 GB, free: 7.516 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001151/0.6881, allocations: 1.221 MB / 1.057 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6881, allocations: 0 / 1.057 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001961/0.6901, allocations: 0.9023 MB / 1.058 GB, free: 5.379 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.00364/0.6937, allocations: 3.979 MB / 1.062 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003761/0.6975, allocations: 4.295 MB / 1.066 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.6975, allocations: 4 kB / 1.066 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002437/0.6999, allocations: 2.906 MB / 1.069 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.7017, allocations: 0.8302 MB / 1.07 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02481/0.7265, allocations: 25.24 MB / 1.094 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002292/0.7288, allocations: 3.209 MB / 1.097 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001011/0.7298, allocations: 0.5332 MB / 1.098 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.731, allocations: 1.651 MB / 1.1 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of SimCode: time 8.72e-07/0.731, allocations: 0 / 1.1 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4493/1.18, allocations: 72.58 MB / 1.17 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.67, allocations: 12.19 kB / 1.17 GB, free: 222.5 MB / 0.8855 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.695583944907412] Failed to read output from testmodel.py, exit status != 0: 11.77696143114008 11.78533111 11.224528697 Calling exit ...