Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0007722/0.0007722, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0007893/0.0007893, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.9383/0.9383, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7546/0.7546, allocations: 203.5 MB / 0.5039 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 4.0.0/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_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.0009187/0.0009187, allocations: 75.8 kB / 0.7178 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5146/0.5156, allocations: 102 MB / 0.8174 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.00873/0.5243, allocations: 9.638 MB / 0.8268 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003874/0.5282, allocations: 3.147 MB / 0.8299 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.5285, allocations: 45.59 kB / 0.8299 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.5295, allocations: 0.6191 MB / 0.8305 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009599/0.5304, allocations: 0.7739 MB / 0.8313 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.5315, allocations: 0.7416 MB / 0.832 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002431/0.5339, allocations: 2.994 MB / 0.8349 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.5354, allocations: 1.406 MB / 0.8363 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.5365, allocations: 1.294 MB / 0.8376 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.538, allocations: 1.63 MB / 0.8391 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002371/0.5382, allocations: 235.5 kB / 0.8394 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006456/0.5389, allocations: 489.2 kB / 0.8398 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006983/0.5396, allocations: 1.101 MB / 0.8409 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006551/0.5402, allocations: 0.9129 MB / 0.8418 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.5424, allocations: 3.712 MB / 0.8454 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5424, allocations: 0 / 0.8454 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5424, allocations: 0 / 0.8454 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.201e-05/0.5424, allocations: 3.938 kB / 0.8454 GB, free: 0.6172 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00242/0.5448, allocations: 2.117 MB / 0.8475 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.5449, allocations: 9.562 kB / 0.8475 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002487/0.5451, allocations: 261.7 kB / 0.8478 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004665/0.5498, allocations: 1.321 MB / 0.8491 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.5513, allocations: 1.269 MB / 0.8503 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/0.5514, allocations: 120 kB / 0.8504 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.5516, allocations: 145.8 kB / 0.8505 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/0.5553, allocations: 3.512 MB / 0.854 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.5553, allocations: 1.5 kB / 0.854 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.5554, allocations: 62.78 kB / 0.854 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/0.5556, allocations: 208.7 kB / 0.8542 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00351/0.5591, allocations: 3.118 MB / 0.8573 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.5696, allocations: 10.09 MB / 0.8671 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.5712, allocations: 1.611 MB / 0.8687 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.5725, allocations: 1.331 MB / 0.87 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.415e-05/0.5726, allocations: 13 kB / 0.87 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.5726, allocations: 43.56 kB / 0.8701 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 2.414e-06/0.5726, allocations: 0 / 0.8701 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.07563/0.6482, allocations: 36.18 MB / 0.9054 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.6483, allocations: 73.34 kB / 0.9055 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.6493, allocations: 1.073 MB / 0.9065 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.6494, allocations: 53.7 kB / 0.9066 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.6498, allocations: 0.8132 MB / 0.9074 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000395/0.6502, allocations: 0.6545 MB / 0.908 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004475/0.6506, allocations: 363.5 kB / 0.9083 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.274e-05/0.6507, allocations: 301.1 kB / 0.9086 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/0.6525, allocations: 1.928 MB / 0.9105 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.6546, allocations: 2.281 MB / 0.9127 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003745/0.6583, allocations: 4.403 MB / 0.917 GB, free: 15.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.6583, allocations: 4 kB / 0.917 GB, free: 15.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01178/0.6701, allocations: 8.869 MB / 0.9257 GB, free: 6.113 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.6701, allocations: 8 kB / 0.9257 GB, free: 6.105 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.6702, allocations: 12 kB / 0.9257 GB, free: 6.094 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008985/0.6791, allocations: 4.969 MB / 0.9306 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.6796, allocations: 191.6 kB / 0.9308 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03454/0.7142, allocations: 38 MB / 0.9679 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.7156, allocations: 99.88 kB / 0.968 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.7157, allocations: 68 kB / 0.968 GB, free: 10.28 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00107/0.7168, allocations: 0.8018 MB / 0.9688 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.717, allocations: 151 kB / 0.969 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/0.7284, allocations: 8.737 MB / 0.9775 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.7284, allocations: 20 kB / 0.9775 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.45e-05/0.7284, allocations: 28 kB / 0.9775 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.7284, allocations: 11.95 kB / 0.9775 GB, free: 496 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.7442, allocations: 12.65 MB / 0.9899 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.7442, allocations: 4 kB / 0.9899 GB, free: 3.703 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.7445, allocations: 119.8 kB / 0.99 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008757/0.7532, allocations: 4.822 MB / 0.9947 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.7533, allocations: 36 kB / 0.9948 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03305/0.7864, allocations: 35.92 MB / 1.03 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.7864, allocations: 11.94 kB / 1.03 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/0.7978, allocations: 8.444 MB / 1.038 GB, free: 1.762 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.7989, allocations: 0.5809 MB / 1.039 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.7991, allocations: 32 kB / 1.039 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006286/0.7997, allocations: 99.81 kB / 1.039 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005357/0.8002, allocations: 173.5 kB / 1.039 GB, free: 0.8828 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.226e-05/0.8003, allocations: 48 kB / 1.039 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007089/0.801, allocations: 0.7343 MB / 1.04 GB, free: 92 kB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.801, allocations: 3.938 kB / 1.04 GB, free: 88 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002243/0.8033, allocations: 1.008 MB / 1.041 GB, free: 15.07 MB / 0.823 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01127/0.8145, allocations: 9.043 MB / 1.05 GB, free: 5.941 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006402/0.8209, allocations: 5.737 MB / 1.055 GB, free: 148 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8209, allocations: 192 / 1.055 GB, free: 148 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004369/0.8253, allocations: 3.789 MB / 1.059 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009702/0.8263, allocations: 248.1 kB / 1.059 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03564/0.8619, allocations: 30.82 MB / 1.089 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.863, allocations: 1.267 MB / 1.09 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005182/0.8635, allocations: 359.4 kB / 1.091 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004879/0.864, allocations: 0.6086 MB / 1.091 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of SimCode: time 1.533e-06/0.864, allocations: 0 / 1.091 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4043/1.268, allocations: 80.64 MB / 1.17 GB, free: 291.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/9.363, allocations: 5.031 kB / 1.17 GB, free: 291.9 MB / 0.9167 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.312878556083888] Failed to read output from testmodel.py, exit status != 0: 9.465563968755305 9.476766283 8.932343544 Calling exit ...