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.0008133/0.0008133, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000831/0.000831, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.908/0.908, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.702/0.702, allocations: 154.5 MB / 413.7 MB, free: 0.832 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 1.413e-06/1.413e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.852e-05, allocations: 6.703 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02323/0.02324, allocations: 32.98 MB / 0.6503 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.03666, allocations: 11.37 MB / 0.6614 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.03964, allocations: 210.4 kB / 0.6616 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.006037/0.04568, allocations: 4.277 MB / 0.6658 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00589/0.05157, allocations: 2.152 MB / 0.6679 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005311/0.05688, allocations: 2.429 MB / 0.6702 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.292/0.3489, allocations: 8.611 MB / 0.6786 GB, free: 52.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00651/0.3554, allocations: 6.183 MB / 0.6847 GB, free: 52.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006962/0.3624, allocations: 5.4 MB / 0.69 GB, free: 52.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00594/0.3683, allocations: 3.9 MB / 0.6938 GB, free: 52.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001835/0.3701, allocations: 0.7814 MB / 0.6945 GB, free: 52.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004205/0.3744, allocations: 1.926 MB / 0.6964 GB, free: 52.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004407/0.3788, allocations: 3.278 MB / 0.6996 GB, free: 51.79 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003696/0.3825, allocations: 2.376 MB / 0.7019 GB, free: 51.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.3945, allocations: 12.23 MB / 0.7139 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.3945, allocations: 0.6562 kB / 0.7139 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3945, allocations: 6.156 kB / 0.7139 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005065/0.395, allocations: 0 / 0.7139 GB, free: 49.51 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.01695/0.412, allocations: 5.804 MB / 0.7195 GB, free: 46.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.505e-05/0.4121, allocations: 12.09 kB / 0.7196 GB, free: 46.33 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003272/0.4153, allocations: 0.8024 MB / 0.7203 GB, free: 45.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005137/0.4205, allocations: 1.101 MB / 0.7214 GB, free: 45.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006328/0.4268, allocations: 3.419 MB / 0.7248 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.4271, allocations: 411.6 kB / 0.7251 GB, free: 43.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.4286, allocations: 0.5467 MB / 0.7257 GB, free: 43.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/0.4471, allocations: 9.379 MB / 0.7348 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000253/0.4473, allocations: 26.77 kB / 0.7349 GB, free: 39.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001451/0.4488, allocations: 237.4 kB / 0.7351 GB, free: 39.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003132/0.4491, allocations: 352.6 kB / 0.7354 GB, free: 39.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.462, allocations: 6.82 MB / 0.7421 GB, free: 37.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03112/0.4931, allocations: 25.09 MB / 0.7666 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.4951, allocations: 2.294 MB / 0.7688 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.4965, allocations: 1.778 MB / 0.7706 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.355e-05/0.4966, allocations: 24.47 kB / 0.7706 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.4966, allocations: 57.69 kB / 0.7706 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=179): time 3.327e-06/0.4966, allocations: 0 / 0.7706 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=182): time 0.01412/0.5107, allocations: 9.681 MB / 0.7801 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.5108, allocations: 74.77 kB / 0.7802 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.5122, allocations: 1.562 MB / 0.7817 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.5124, allocations: 57.7 kB / 0.7818 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005999/0.513, allocations: 2.32 MB / 0.784 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/0.5133, allocations: 0.6584 MB / 0.7847 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.5136, allocations: 404.1 kB / 0.785 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.865e-05/0.5136, allocations: 308.4 kB / 0.7853 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009587/0.5146, allocations: 1.176 MB / 0.7865 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.5157, allocations: 1.88 MB / 0.7883 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/0.5182, allocations: 3.37 MB / 0.7916 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.5182, allocations: 6.719 kB / 0.7916 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005281/0.5235, allocations: 4.538 MB / 0.7961 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.5235, allocations: 16 kB / 0.7961 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.5235, allocations: 20 kB / 0.7961 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/0.5259, allocations: 1.584 MB / 0.7976 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/0.5266, allocations: 353 kB / 0.798 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/0.5418, allocations: 17.94 MB / 0.8155 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.5434, allocations: 123.9 kB / 0.8156 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.5436, allocations: 103.9 kB / 0.8157 GB, free: 7.848 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.003188/0.5468, allocations: 1.889 MB / 0.8176 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004155/0.5472, allocations: 234.6 kB / 0.8178 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004547/0.5517, allocations: 4.045 MB / 0.8217 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.5517, allocations: 16 kB / 0.8217 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/0.5518, allocations: 20 kB / 0.8218 GB, free: 1.695 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.5518, allocations: 7.969 kB / 0.8218 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/0.5634, allocations: 8.663 MB / 0.8302 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.5635, allocations: 4.562 kB / 0.8302 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005172/0.564, allocations: 180.8 kB / 0.8304 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/0.5661, allocations: 1.358 MB / 0.8317 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.285e-05/0.5662, allocations: 36 kB / 0.8318 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01457/0.5807, allocations: 16.72 MB / 0.8481 GB, free: 6.301 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5807, allocations: 4 kB / 0.8481 GB, free: 6.297 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/0.5851, allocations: 4.023 MB / 0.852 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.5862, allocations: 478.3 kB / 0.8525 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.5863, allocations: 39.98 kB / 0.8525 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/0.5868, allocations: 87.91 kB / 0.8526 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003621/0.5872, allocations: 181 kB / 0.8528 GB, free: 1.477 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/0.5873, allocations: 44.84 kB / 0.8528 GB, free: 1.434 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001014/0.5883, allocations: 1.005 MB / 0.8538 GB, free: 416 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5883, allocations: 0 / 0.8538 GB, free: 416 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.002581/0.5909, allocations: 0.9883 MB / 0.8548 GB, free: 15.41 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.004351/0.5952, allocations: 4.616 MB / 0.8593 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004585/0.5998, allocations: 4.169 MB / 0.8634 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5998, allocations: 0 / 0.8634 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002639/0.6024, allocations: 2.574 MB / 0.8659 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.6048, allocations: 0.7796 MB / 0.8666 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/0.6364, allocations: 27.02 MB / 0.893 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003088/0.6394, allocations: 3.035 MB / 0.896 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009873/0.6404, allocations: 463.9 kB / 0.8964 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.6418, allocations: 1.796 MB / 0.8982 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of SimCode: time 1.884e-06/0.6418, allocations: 3.938 kB / 0.8982 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09657/0.7384, allocations: 78.47 MB / 0.9748 GB, free: 4.812 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.726/9.464, allocations: 10.75 kB / 0.9748 GB, free: 4.805 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.31085729598999] Failed to read output from testmodel.py, exit status != 0: 9.579293329268694 9.589035998 9.192278514 Calling exit ...