Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.0009757/0.0009757, 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.0009622/0.0009622, allocations: 217.7 kB / 22.26 MB, free: 3.699 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 1.017/1.017, allocations: 230.6 MB / 256 MB, free: 9.801 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.8271/0.8271, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.ACLineMatrix_RLC,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.0009453/0.0009453, allocations: 79.73 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5169/0.5178, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01045/0.5283, allocations: 10.46 MB / 0.8281 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003628/0.5319, allocations: 3.162 MB / 0.8312 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.5322, allocations: 45.53 kB / 0.8312 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.5335, allocations: 0.7151 MB / 0.8319 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009046/0.5344, allocations: 0.7267 MB / 0.8326 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000855/0.5353, allocations: 0.6501 MB / 0.8333 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002317/0.5376, allocations: 2.744 MB / 0.8359 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.539, allocations: 1.375 MB / 0.8373 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.5402, allocations: 1.155 MB / 0.8384 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/0.5422, allocations: 1.494 MB / 0.8399 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006629/0.5428, allocations: 216.9 kB / 0.8401 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.5441, allocations: 0.4899 MB / 0.8406 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.5452, allocations: 1.01 MB / 0.8415 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001618/0.5468, allocations: 1.011 MB / 0.8425 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003676/0.5505, allocations: 3.413 MB / 0.8459 GB, free: 236 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.5505, allocations: 0 / 0.8459 GB, free: 236 kB / 0.6198 GB Notification: Performance of FrontEnd: time 4.077e-06/0.5505, allocations: 0 / 0.8459 GB, free: 236 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001558/0.5507, allocations: 4 kB / 0.8459 GB, free: 232 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003955/0.5546, allocations: 1.922 MB / 0.8477 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.5547, allocations: 9.469 kB / 0.8478 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002921/0.555, allocations: 250 kB / 0.848 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/0.558, allocations: 0.8966 MB / 0.8489 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.5597, allocations: 1.126 MB / 0.85 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.5598, allocations: 114.3 kB / 0.8501 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.56, allocations: 145.9 kB / 0.8502 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003835/0.5639, allocations: 3.017 MB / 0.8532 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.5639, allocations: 2.688 kB / 0.8532 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.564, allocations: 70.27 kB / 0.8532 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/0.5642, allocations: 175.2 kB / 0.8534 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003484/0.5677, allocations: 2.607 MB / 0.8559 GB, free: 10.22 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/0.5807, allocations: 13.39 MB / 0.869 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.5822, allocations: 1.223 MB / 0.8702 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.5834, allocations: 0.9786 MB / 0.8712 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.768e-05/0.5835, allocations: 12.55 kB / 0.8712 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.5835, allocations: 42.72 kB / 0.8712 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=82): time 2.956e-06/0.5835, allocations: 0 / 0.8712 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=139): time 0.03715/0.6206, allocations: 18.88 MB / 0.8897 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.6207, allocations: 72.64 kB / 0.8897 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.6217, allocations: 0.9145 MB / 0.8906 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.6218, allocations: 49.7 kB / 0.8907 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/0.6222, allocations: 0.754 MB / 0.8914 GB, free: 9.285 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/0.6226, allocations: 0.4996 MB / 0.8919 GB, free: 8.781 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004027/0.623, allocations: 291.5 kB / 0.8922 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6231, allocations: 353.9 kB / 0.8925 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.6246, allocations: 1.339 MB / 0.8938 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.6261, allocations: 1.651 MB / 0.8954 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/0.6288, allocations: 3.086 MB / 0.8985 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6288, allocations: 0 / 0.8985 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.007155/0.636, allocations: 5.569 MB / 0.9039 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.636, allocations: 16.03 kB / 0.9039 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.636, allocations: 12 kB / 0.9039 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005118/0.6412, allocations: 2.705 MB / 0.9066 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.6417, allocations: 195.7 kB / 0.9067 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/0.6646, allocations: 25.34 MB / 0.9315 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.6657, allocations: 95.95 kB / 0.9316 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.6658, allocations: 59.98 kB / 0.9316 GB, free: 15.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001045/0.6668, allocations: 0.7316 MB / 0.9324 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.667, allocations: 119.2 kB / 0.9325 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006932/0.6739, allocations: 5.31 MB / 0.9377 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.6739, allocations: 15.98 kB / 0.9377 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.399e-05/0.674, allocations: 24 kB / 0.9377 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.674, allocations: 3.984 kB / 0.9377 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.6847, allocations: 8.598 MB / 0.9461 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.6847, allocations: 7.938 kB / 0.9461 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.685, allocations: 115.8 kB / 0.9462 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004827/0.6898, allocations: 2.589 MB / 0.9487 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/0.6901, allocations: 24 kB / 0.9488 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02173/0.7118, allocations: 23.77 MB / 0.972 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.7118, allocations: 4.375 kB / 0.972 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006826/0.7186, allocations: 5.179 MB / 0.977 GB, free: 136 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007389/0.7194, allocations: 435.1 kB / 0.9774 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.7195, allocations: 28 kB / 0.9775 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.72, allocations: 79.91 kB / 0.9776 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/0.7204, allocations: 128.9 kB / 0.9777 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-05/0.7204, allocations: 36 kB / 0.9777 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005946/0.721, allocations: 0.6434 MB / 0.9783 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.721, allocations: 4 kB / 0.9783 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001881/0.7229, allocations: 0.7265 MB / 0.979 GB, free: 14.06 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007226/0.7301, allocations: 5.754 MB / 0.9847 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004948/0.7351, allocations: 4.082 MB / 0.9887 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7351, allocations: 0 / 0.9887 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003283/0.7384, allocations: 2.603 MB / 0.9912 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.7394, allocations: 224.8 kB / 0.9914 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02517/0.7646, allocations: 21.35 MB / 1.012 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/0.7659, allocations: 1.7 MB / 1.014 GB, free: 9.684 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005815/0.7664, allocations: 333.4 kB / 1.014 GB, free: 9.355 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004946/0.7669, allocations: 0.5305 MB / 1.015 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of SimCode: time 1.543e-06/0.7669, allocations: 0 / 1.015 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07091/0.8379, allocations: 54.6 MB / 1.068 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.353/9.191, allocations: 7.922 kB / 1.068 GB, free: 2.457 MB / 0.8386 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.297699586953968] Failed to read output from testmodel.py, exit status != 0: 9.287368614925072 9.296179636 8.743754041 Calling exit ...