Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Transformer,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Transformer,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 170.5 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04048/0.04048, allocations: 8.703 MB / 21.96 MB, free: 3.734 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 221.4 MB / 246 MB, free: 3.562 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008893/0.0008893, allocations: 88.3 kB / 299.1 MB, free: 3.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.906e-05, allocations: 4 kB / 362.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2948, allocations: 52.54 MB / 414.6 MB, free: 22.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5097/0.8045, allocations: 164.4 MB / 0.5654 GB, free: 23.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.8049, allocations: 79.28 kB / 0.5655 GB, free: 22.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.005/4.81, allocations: 0.8625 GB / 1.428 GB, free: 17.59 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.275e-06/4.81, allocations: 0 / 1.428 GB, free: 17.59 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.001747/4.812, allocations: 480.5 kB / 1.428 GB, free: 17.59 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.07115/4.883, allocations: 19.51 MB / 1.447 GB, free: 14.88 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/4.883, allocations: 9.594 kB / 1.447 GB, free: 14.88 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01344/4.896, allocations: 2.952 MB / 1.45 GB, free: 14.7 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05427/4.951, allocations: 9.678 MB / 1.46 GB, free: 13.57 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04747/4.998, allocations: 16.23 MB / 1.476 GB, free: 11.84 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003361/5.001, allocations: 1.517 MB / 1.477 GB, free: 11.8 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01305/5.015, allocations: 1.999 MB / 1.479 GB, free: 11.79 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1072/5.122, allocations: 33.8 MB / 1.512 GB, free: 9.414 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001443/5.123, allocations: 27.12 kB / 1.512 GB, free: 9.406 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008183/5.132, allocations: 0.857 MB / 1.513 GB, free: 9.406 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002094/5.134, allocations: 1.48 MB / 1.514 GB, free: 9.359 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07252/5.206, allocations: 29.55 MB / 1.543 GB, free: 25.04 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8247/6.031, allocations: 108.6 MB / 1.649 GB, free: 40.16 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04352/6.075, allocations: 50.46 MB / 1.699 GB, free: 22.22 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01634/6.091, allocations: 9.568 MB / 1.708 GB, free: 22.08 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05985/6.151, allocations: 22.58 MB / 1.73 GB, free: 21.16 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/6.151, allocations: 130.8 kB / 1.73 GB, free: 21.12 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=892): time 1.202e-05/6.151, allocations: 0 / 1.73 GB, free: 21.12 MB / 0.5887 GB Notification: Performance of matching and sorting (n=904): time 0.0788/6.23, allocations: 32.68 MB / 1.762 GB, free: 15.05 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002644/6.23, allocations: 174.2 kB / 1.762 GB, free: 14.95 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02186/6.252, allocations: 7.337 MB / 1.769 GB, free: 14.35 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.00244/6.255, allocations: 170.9 kB / 1.77 GB, free: 14.32 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.008169/6.263, allocations: 8.686 MB / 1.778 GB, free: 9.875 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.005401/6.268, allocations: 3.038 MB / 1.781 GB, free: 7.949 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00284/6.271, allocations: 226.8 kB / 1.781 GB, free: 7.949 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.001307/6.273, allocations: 0.7738 MB / 1.782 GB, free: 7.621 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01109/6.284, allocations: 6.006 MB / 1.788 GB, free: 7.598 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01572/6.299, allocations: 9.602 MB / 1.797 GB, free: 3.395 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01629/6.316, allocations: 8.095 MB / 1.805 GB, free: 3.207 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003387/6.316, allocations: 34.91 kB / 1.805 GB, free: 3.203 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1468) (initialization): time 0.04625/6.362, allocations: 19.74 MB / 1.824 GB, free: 2.09 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004109/6.363, allocations: 53.88 kB / 1.824 GB, free: 2.09 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003995/6.363, allocations: 110.3 kB / 1.825 GB, free: 2.09 MB / 0.5887 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/6.366, allocations: 0.8241 MB / 1.825 GB, free: 2.023 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/6.377, allocations: 2.372 MB / 1.828 GB, free: 2.02 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/6.39, allocations: 11.5 MB / 1.839 GB, free: 8.824 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01237/6.402, allocations: 0.6005 MB / 1.84 GB, free: 8.344 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003255/6.405, allocations: 0.5078 MB / 1.84 GB, free: 7.852 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1214): * Single equations (assignments): 1207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005942/6.411, allocations: 0.7939 MB / 1.841 GB, free: 7.215 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004334/6.416, allocations: 0.9108 MB / 1.842 GB, free: 6.293 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5942/7.01, allocations: 16.72 MB / 1.858 GB, free: 83.16 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001267/7.01, allocations: 89.34 kB / 1.858 GB, free: 83.16 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002011/7.01, allocations: 46.95 kB / 1.858 GB, free: 83.16 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002786/7.011, allocations: 44.95 kB / 1.858 GB, free: 83.16 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09092/7.102, allocations: 35.54 MB / 1.893 GB, free: 81.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001139/7.102, allocations: 6 kB / 1.893 GB, free: 81.43 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0072/7.109, allocations: 1.42 MB / 1.894 GB, free: 81.43 MB / 0.6043 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.002659/7.112, allocations: 0.8404 MB / 1.895 GB, free: 81.37 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002557/7.114, allocations: 208.1 kB / 1.895 GB, free: 81.37 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/7.128, allocations: 15.67 MB / 1.911 GB, free: 72.26 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/7.128, allocations: 13.72 kB / 1.911 GB, free: 72.26 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0476/7.176, allocations: 25.41 MB / 1.935 GB, free: 69.61 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008565/7.185, allocations: 2.245 MB / 1.938 GB, free: 69.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004546/7.189, allocations: 180.3 kB / 1.938 GB, free: 69.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008586/7.198, allocations: 0.5018 MB / 1.938 GB, free: 69.52 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003263/7.201, allocations: 0.7901 MB / 1.939 GB, free: 69.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002265/7.203, allocations: 261.6 kB / 1.939 GB, free: 69.5 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.01355/7.217, allocations: 5.549 MB / 1.945 GB, free: 69.21 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9.82e-07/7.217, allocations: 0 / 1.945 GB, free: 69.21 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.01942/7.237, allocations: 3.511 MB / 1.948 GB, free: 69.21 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (701): * Single equations (assignments): 693 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05064/7.287, allocations: 27.69 MB / 1.975 GB, free: 64.32 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.02752/7.315, allocations: 15.62 MB / 1.99 GB, free: 58.32 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/7.315, allocations: 3.906 kB / 1.99 GB, free: 58.32 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.01638/7.331, allocations: 8.523 MB / 1.999 GB, free: 54.62 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01672/7.348, allocations: 2.336 MB / 2.001 GB, free: 54.02 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1066/7.455, allocations: 38.97 MB / 2.039 GB, free: 25.75 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03125/7.486, allocations: 13.45 MB / 2.052 GB, free: 15.73 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.01837/7.504, allocations: 3.969 MB / 2.056 GB, free: 13.13 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5119/8.016, allocations: 7.824 MB / 2.064 GB, free: 73.61 MB / 0.6043 GB Notification: Performance of SimCode: time 2.174e-06/8.016, allocations: 0 / 2.064 GB, free: 73.61 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9198/8.936, allocations: 285.7 MB / 2.343 GB, free: 72.53 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/8.936, allocations: 167.2 kB / 2.343 GB, free: 72.31 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/21.66, allocations: 4 kB / 2.343 GB, free: 72.3 MB / 0.6355 GB (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMC_Transformer.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1)