Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 0.9787/0.9787, allocations: 175.7 MB / 480.1 MB, free: 2.832 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 76.94 kB / 0.6678 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1578, allocations: 94.52 MB / 0.7601 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04274/0.2005, allocations: 39.77 MB / 0.7989 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.2191, allocations: 11.41 MB / 0.8101 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002938/0.2221, allocations: 151.3 kB / 0.8102 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.2327, allocations: 4.53 MB / 0.8146 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005763/0.2385, allocations: 2.332 MB / 0.8169 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005276/0.2438, allocations: 2.242 MB / 0.8191 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01099/0.2547, allocations: 9.28 MB / 0.8282 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01029/0.265, allocations: 5.979 MB / 0.834 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00579/0.2708, allocations: 4.047 MB / 0.8379 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3272/0.598, allocations: 4.749 MB / 0.8426 GB, free: 19.29 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003354/0.6013, allocations: 0.8241 MB / 0.8434 GB, free: 19.29 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006144/0.6075, allocations: 1.609 MB / 0.845 GB, free: 19.29 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.006481/0.614, allocations: 3.232 MB / 0.8481 GB, free: 19.23 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.009383/0.6234, allocations: 3.655 MB / 0.8517 GB, free: 18.36 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01515/0.6385, allocations: 12.34 MB / 0.8637 GB, free: 17.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6385, allocations: 4.625 kB / 0.8637 GB, free: 17.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6385, allocations: 0 / 0.8637 GB, free: 17.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003314/0.6388, allocations: 0 / 0.8637 GB, free: 17.18 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01723/0.6561, allocations: 6.472 MB / 0.8701 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.6561, allocations: 9.562 kB / 0.8701 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002464/0.6586, allocations: 0.8294 MB / 0.8709 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005811/0.6644, allocations: 1.093 MB / 0.872 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007116/0.6715, allocations: 3.633 MB / 0.8755 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.6718, allocations: 423.6 kB / 0.8759 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001974/0.6738, allocations: 0.5432 MB / 0.8764 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/0.6924, allocations: 9.385 MB / 0.8856 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002272/0.6927, allocations: 21.33 kB / 0.8856 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002005/0.6947, allocations: 250.3 kB / 0.8859 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005663/0.6952, allocations: 418.4 kB / 0.8863 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/0.7075, allocations: 7.129 MB / 0.8932 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04467/0.7521, allocations: 41.07 MB / 0.9333 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/0.7565, allocations: 2.907 MB / 0.9362 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002881/0.7594, allocations: 1.949 MB / 0.9381 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.7595, allocations: 23.78 kB / 0.9381 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.7596, allocations: 59.75 kB / 0.9381 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=209): time 3.296e-06/0.7596, allocations: 0 / 0.9381 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=212): time 0.02475/0.7843, allocations: 10.59 MB / 0.9485 GB, free: 476 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.7844, allocations: 77.34 kB / 0.9486 GB, free: 384 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/0.7871, allocations: 2.002 MB / 0.9505 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.7873, allocations: 65.7 kB / 0.9506 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001677/0.789, allocations: 2.472 MB / 0.953 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000685/0.7897, allocations: 0.7711 MB / 0.9537 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007646/0.7904, allocations: 477.5 kB / 0.9542 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.7905, allocations: 301.1 kB / 0.9545 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/0.7925, allocations: 1.379 MB / 0.9558 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002523/0.795, allocations: 2.099 MB / 0.9579 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004926/0.8, allocations: 3.77 MB / 0.9616 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.8, allocations: 8 kB / 0.9616 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008057/0.808, allocations: 5.031 MB / 0.9665 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.8081, allocations: 16 kB / 0.9665 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.8081, allocations: 20 kB / 0.9665 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003489/0.8116, allocations: 1.579 MB / 0.9681 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.8132, allocations: 459.7 kB / 0.9685 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/0.8361, allocations: 18.61 MB / 0.9867 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/0.8385, allocations: 139.9 kB / 0.9868 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.8387, allocations: 112 kB / 0.9869 GB, free: 8.234 MB / 0.7325 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003421/0.8421, allocations: 1.937 MB / 0.9888 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000551/0.8427, allocations: 306 kB / 0.9891 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007418/0.8501, allocations: 4.39 MB / 0.9934 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.8501, allocations: 20 kB / 0.9934 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.947e-05/0.8501, allocations: 16 kB / 0.9934 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.212e-05/0.8501, allocations: 15.95 kB / 0.9934 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.8662, allocations: 9.611 MB / 1.003 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.8662, allocations: 8 kB / 1.003 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009859/0.8672, allocations: 229.6 kB / 1.003 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003337/0.8706, allocations: 1.428 MB / 1.004 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.8707, allocations: 43.98 kB / 1.004 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02316/0.8939, allocations: 18.57 MB / 1.023 GB, free: 3.188 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/0.8939, allocations: 4 kB / 1.023 GB, free: 3.184 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007731/0.9016, allocations: 4.512 MB / 1.027 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/0.9032, allocations: 0.6397 MB / 1.028 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004726/0.9036, allocations: 47.98 kB / 1.028 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.9049, allocations: 112.1 kB / 1.028 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004847/0.9054, allocations: 185.1 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.9055, allocations: 63.98 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001889/0.9074, allocations: 1.319 MB / 1.029 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 7e-08/0.9074, allocations: 3.375 kB / 1.029 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003332/0.9108, allocations: 1.141 MB / 1.03 GB, free: 11.12 MB / 0.7794 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007213/0.918, allocations: 5.116 MB / 1.035 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007132/0.9251, allocations: 4.538 MB / 1.04 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.9251, allocations: 4 kB / 1.04 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00445/0.9296, allocations: 2.806 MB / 1.043 GB, free: 14.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003647/0.9332, allocations: 0.8889 MB / 1.043 GB, free: 13.83 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04709/0.9803, allocations: 30.57 MB / 1.073 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004168/0.9845, allocations: 3.694 MB / 1.077 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001709/0.9862, allocations: 0.5518 MB / 1.077 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002197/0.9884, allocations: 1.951 MB / 1.079 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of SimCode: time 8.72e-07/0.9884, allocations: 0 / 1.079 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1494/1.138, allocations: 86.29 MB / 1.164 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.78, allocations: 0 / 1.164 GB, free: 2.891 MB / 0.9044 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.426198499000748]