Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001089/0.001089, 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.0009772/0.0009772, allocations: 221.8 kB / 22.26 MB, free: 3.707 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.994/0.994, 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.8042/0.8042, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.0008754/0.0008754, allocations: 69.14 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4631, allocations: 102 MB / 0.8179 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01285/0.4759, allocations: 15.33 MB / 0.8328 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.4901, allocations: 10.77 MB / 0.8433 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.4918, allocations: 77.53 kB / 0.8434 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.4947, allocations: 1.755 MB / 0.8451 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005001/0.4997, allocations: 1.862 MB / 0.847 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.5016, allocations: 0.772 MB / 0.8477 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004489/0.5061, allocations: 2.771 MB / 0.8504 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.5079, allocations: 1.201 MB / 0.8516 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.5102, allocations: 1.562 MB / 0.8531 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.5119, allocations: 1.23 MB / 0.8543 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002953/0.5122, allocations: 160.9 kB / 0.8545 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.5137, allocations: 0.8029 MB / 0.8552 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00046/0.5142, allocations: 0.6167 MB / 0.8559 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.5153, allocations: 0.9582 MB / 0.8568 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.5181, allocations: 2.77 MB / 0.8595 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5181, allocations: 0 / 0.8595 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5181, allocations: 0 / 0.8595 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.85e-05/0.5181, allocations: 0 / 0.8595 GB, free: 5.312 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003226/0.5214, allocations: 2.161 MB / 0.8616 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.5214, allocations: 9.188 kB / 0.8616 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.5216, allocations: 202 kB / 0.8618 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005906/0.5275, allocations: 2.113 MB / 0.8639 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.5296, allocations: 1.234 MB / 0.8651 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.5297, allocations: 85.44 kB / 0.8652 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.5299, allocations: 120 kB / 0.8653 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003658/0.5336, allocations: 2.673 MB / 0.8679 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.5336, allocations: 15.27 kB / 0.8679 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.5337, allocations: 49.95 kB / 0.8679 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003557/0.5341, allocations: 194.3 kB / 0.8681 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004389/0.5385, allocations: 2.791 MB / 0.8708 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00966/0.5481, allocations: 10.37 MB / 0.881 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.5516, allocations: 2.183 MB / 0.8831 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.5532, allocations: 1.198 MB / 0.8843 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-05/0.5533, allocations: 16.94 kB / 0.8843 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.5533, allocations: 43.56 kB / 0.8843 GB, free: 1.047 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 2.234e-06/0.5533, allocations: 0 / 0.8843 GB, free: 1.047 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.03044/0.5838, allocations: 16.01 MB / 0.9 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.5838, allocations: 68.72 kB / 0.9 GB, free: 0.9141 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.5852, allocations: 1.172 MB / 0.9012 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.5853, allocations: 49.7 kB / 0.9012 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.5857, allocations: 0.7568 MB / 0.902 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.586, allocations: 0.546 MB / 0.9025 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.5864, allocations: 287.5 kB / 0.9028 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.5865, allocations: 309.1 kB / 0.9031 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.5885, allocations: 1.507 MB / 0.9045 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.5906, allocations: 1.78 MB / 0.9063 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004313/0.5949, allocations: 3.369 MB / 0.9096 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.5949, allocations: 4 kB / 0.9096 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007573/0.6025, allocations: 5.211 MB / 0.9147 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.6025, allocations: 8 kB / 0.9147 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.6025, allocations: 8 kB / 0.9147 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003697/0.6062, allocations: 1.883 MB / 0.9165 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.6073, allocations: 411.3 kB / 0.9169 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/0.6262, allocations: 23.34 MB / 0.9397 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.6281, allocations: 303.5 kB / 0.94 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.6282, allocations: 79.88 kB / 0.9401 GB, free: 6.719 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000747/0.629, allocations: 454.3 kB / 0.9405 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.6292, allocations: 182.9 kB / 0.9407 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007804/0.637, allocations: 5.253 MB / 0.9458 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.6371, allocations: 16 kB / 0.9458 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.163e-05/0.6371, allocations: 16 kB / 0.9458 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.6371, allocations: 11.97 kB / 0.9458 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.6472, allocations: 7.316 MB / 0.953 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.6472, allocations: 4 kB / 0.953 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.648, allocations: 351.7 kB / 0.9533 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/0.651, allocations: 1.706 MB / 0.955 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.6511, allocations: 51.84 kB / 0.955 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/0.6686, allocations: 22.49 MB / 0.977 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.6686, allocations: 4 kB / 0.977 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006878/0.6755, allocations: 4.833 MB / 0.9817 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007995/0.6763, allocations: 434.5 kB / 0.9821 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.6765, allocations: 24 kB / 0.9822 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.6775, allocations: 319.5 kB / 0.9825 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003949/0.6779, allocations: 160.9 kB / 0.9826 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.032e-05/0.678, allocations: 59.91 kB / 0.9827 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007384/0.6787, allocations: 0.7899 MB / 0.9835 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6787, allocations: 0 / 0.9835 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001562/0.6803, allocations: 0.6562 MB / 0.9841 GB, free: 8.43 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006751/0.687, allocations: 5.415 MB / 0.9894 GB, free: 2.926 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006515/0.6936, allocations: 4.929 MB / 0.9942 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.6936, allocations: 4 kB / 0.9942 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003942/0.6975, allocations: 3.273 MB / 0.9974 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.6993, allocations: 0.5608 MB / 0.9979 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02937/0.7287, allocations: 21.78 MB / 1.019 GB, free: 3.691 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.7299, allocations: 1.568 MB / 1.021 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001016/0.7309, allocations: 386.4 kB / 1.021 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006525/0.7316, allocations: 0.6554 MB / 1.022 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of SimCode: time 1.633e-06/0.7316, allocations: 0 / 1.022 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08921/0.8208, allocations: 60.74 MB / 1.081 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.058/9.879, allocations: 10.2 kB / 1.081 GB, free: 4.84 MB / 0.8542 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.840167569927871] Failed to read output from testmodel.py, exit status != 0: 9.981598459882662 9.99134146 9.470898833 Calling exit ...