Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0008686/0.0008686, 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.0009693/0.0009693, allocations: 213.8 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.9643/0.9643, allocations: 230.6 MB / 256 MB, free: 9.824 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.778/0.778, 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.0009317/0.0009317, allocations: 66.39 kB / 0.7183 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4943, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02886/0.5232, allocations: 34.28 MB / 0.8514 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.5387, allocations: 10.67 MB / 0.8618 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003607/0.5423, allocations: 200.4 kB / 0.862 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005675/0.5479, allocations: 3.892 MB / 0.8658 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0054/0.5533, allocations: 1.954 MB / 0.8677 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007491/0.5608, allocations: 2.189 MB / 0.8698 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008935/0.5698, allocations: 7.334 MB / 0.877 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007194/0.577, allocations: 5.154 MB / 0.882 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005518/0.5825, allocations: 3.274 MB / 0.8852 GB, free: 0.7695 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004794/0.5873, allocations: 3.676 MB / 0.8888 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00144/0.5887, allocations: 0.6445 MB / 0.8894 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003497/0.5922, allocations: 1.81 MB / 0.8912 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002438/0.5947, allocations: 2.611 MB / 0.8938 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004316/0.599, allocations: 2.902 MB / 0.8966 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.6106, allocations: 10.13 MB / 0.9065 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.6106, allocations: 8 kB / 0.9065 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6106, allocations: 0 / 0.9065 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003451/0.611, allocations: 3.938 kB / 0.9065 GB, free: 10.92 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01087/0.6218, allocations: 5.052 MB / 0.9114 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.6219, allocations: 12.03 kB / 0.9114 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001161/0.623, allocations: 0.6781 MB / 0.9121 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/0.6262, allocations: 0.9852 MB / 0.9131 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004291/0.6305, allocations: 2.987 MB / 0.916 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.6307, allocations: 353.7 kB / 0.9163 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007952/0.6315, allocations: 464.3 kB / 0.9168 GB, free: 272 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.6435, allocations: 7.667 MB / 0.9242 GB, free: 8.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.6436, allocations: 35.75 kB / 0.9243 GB, free: 8.215 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005959/0.6442, allocations: 196 kB / 0.9245 GB, free: 8.023 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002366/0.6444, allocations: 309 kB / 0.9248 GB, free: 7.719 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009845/0.6543, allocations: 5.714 MB / 0.9303 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02939/0.6837, allocations: 34.57 MB / 0.9641 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.6857, allocations: 1.559 MB / 0.9656 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.6867, allocations: 1.128 MB / 0.9667 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.763e-05/0.6867, allocations: 13.31 kB / 0.9667 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.6868, allocations: 47.88 kB / 0.9668 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=133): time 2.705e-06/0.6868, allocations: 3.938 kB / 0.9668 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=136): time 0.008129/0.6949, allocations: 6.207 MB / 0.9728 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.6949, allocations: 68.72 kB / 0.9729 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.6963, allocations: 1.488 MB / 0.9744 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.6964, allocations: 45.7 kB / 0.9744 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008744/0.6973, allocations: 2.073 MB / 0.9764 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.6976, allocations: 0.4997 MB / 0.9769 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.6979, allocations: 347.3 kB / 0.9772 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.698, allocations: 305.1 kB / 0.9775 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.6991, allocations: 0.9096 MB / 0.9784 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.7002, allocations: 1.593 MB / 0.98 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/0.7025, allocations: 2.737 MB / 0.9827 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.7025, allocations: 8 kB / 0.9827 GB, free: 8.402 MB / 0.7605 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004178/0.7067, allocations: 3.507 MB / 0.9861 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.7067, allocations: 19.94 kB / 0.9861 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.7067, allocations: 20 kB / 0.9861 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.7082, allocations: 0.9122 MB / 0.987 GB, free: 3.863 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/0.7089, allocations: 351.4 kB / 0.9874 GB, free: 3.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.7223, allocations: 21.88 MB / 1.009 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.7235, allocations: 104 kB / 1.009 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.742e-05/0.7236, allocations: 84 kB / 1.009 GB, free: 12.08 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 (185): * 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: 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.001968/0.7256, allocations: 1.609 MB / 1.01 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.7258, allocations: 222.6 kB / 1.011 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/0.729, allocations: 2.963 MB / 1.014 GB, free: 7.234 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.729, allocations: 12 kB / 1.014 GB, free: 7.223 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.342e-05/0.729, allocations: 8 kB / 1.014 GB, free: 7.215 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.729, allocations: 3.984 kB / 1.014 GB, free: 7.211 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008198/0.7372, allocations: 7.297 MB / 1.021 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.7372, allocations: 4 kB / 1.021 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/0.7377, allocations: 183.7 kB / 1.021 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.7389, allocations: 0.8221 MB / 1.022 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.198e-05/0.739, allocations: 24 kB / 1.022 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01263/0.7517, allocations: 20.74 MB / 1.042 GB, free: 8.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.7517, allocations: 4 kB / 1.042 GB, free: 8.496 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/0.7552, allocations: 3.019 MB / 1.045 GB, free: 5.363 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008385/0.756, allocations: 390.5 kB / 1.045 GB, free: 4.98 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.7561, allocations: 27.98 kB / 1.045 GB, free: 4.953 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.7566, allocations: 75.91 kB / 1.045 GB, free: 4.879 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/0.7569, allocations: 132.6 kB / 1.046 GB, free: 4.746 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.7569, allocations: 36 kB / 1.046 GB, free: 4.711 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001006/0.7579, allocations: 0.9756 MB / 1.047 GB, free: 3.711 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7579, allocations: 0 / 1.047 GB, free: 3.711 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002291/0.7602, allocations: 0.7891 MB / 1.047 GB, free: 2.922 MB / 0.823 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003293/0.7635, allocations: 3.603 MB / 1.051 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003859/0.7674, allocations: 3.922 MB / 1.055 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.7674, allocations: 0 / 1.055 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.7695, allocations: 2.658 MB / 1.057 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.7715, allocations: 0.7339 MB / 1.058 GB, free: 7.613 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02626/0.7977, allocations: 22.52 MB / 1.08 GB, free: 76 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002893/0.8006, allocations: 3.109 MB / 1.083 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001135/0.8018, allocations: 458 kB / 1.083 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/0.803, allocations: 1.542 MB / 1.085 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of SimCode: time 1.784e-06/0.803, allocations: 0 / 1.085 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4272/1.23, allocations: 63.43 MB / 1.147 GB, free: 271.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.66/10.89, allocations: 1.281 kB / 1.147 GB, free: 271.3 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.959241629112512] Failed to read output from testmodel.py, exit status != 0: 10.997722757048905 11.013450847 10.400158184 Calling exit ...